A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Logger in web.xml
Joined: Oct 29, 2003
Sep 17, 2004 13:29:00
Would like to know how to declare a logger in the web.xml, if it is possible.
Joined: Feb 17, 2004
Sep 17, 2004 16:58:00
Logging facility can't be declared in application specific web.xml
However at container level, we can do that For example, in
, in server.xml you can specify
directory="logs" prefix="localhost_log." suffix=".txt"
something like this!
PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
I agree. Here's the link:
subject: Logger in web.xml
Help Please -log4j:WARN No appenders could be found for logger
final instance variable
File Not Found Exception
Tracking users and user security
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015