Is LogManager.getCurrentLoggers supposed to return all loggers including the root?
I'm only getting a single logger (my application logger). When I try calling
getAllAppenders() the appenders I'm interested in are not returned because they are
attached to the root. It's easy enough to also
come up with what they consider a good
pattern for managing logging in web applications?
Craig Smith
Please Note
The information in this E-mail message is legally privileged
and confidential information intended
Page 46 - Syntax of XML scripts, paragraph 1, eliminate part:
A DTD file is not part particularly palatable to the eye, so we give it a more
amenable and narrative description here.
Page 46 - last paragraph, sting needs an 'r':
The threshold attribute can take the case insensitive sting
You need to produce a specifically formatted file. See the documentation at
http://jakarta.apache.org/log4j/docs/lf5/readingfiles.html which describes how to do
that.
This brings up a point. Is there a reason why LogFactor5 can not use XMLLayout
generated files? I like some features of
You might also consider using LogFactor5. Assuming your classpath is set up properly
with the log4j.jar and its dependencies, start it with:
java org.apache.log4j.lf5.StartLogFactor5
Craig
[EMAIL PROTECTED] 07/29/02 07:23AM
Hi!
I just switched to Log4J 1.2.5 and now I'd like to try this
Has anyone written an SNMP appender? I'd be interested in one. If there isn't one
available I might pick away at it.
Craig
Please Note
The information in this E-mail message is legally privileged
and
The properties that can be set map directly to the properties of the classes,
following the JavaBeans conventions. So if a class has a setXXX method, you can
configure the XXX property. With loggers it's a little trickier since the name of a
logger may itself include a period. Therefore the
Try the DailyRollingFileAppender.
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFileAppender.html
[EMAIL PROTECTED] 07/16/02 10:17AM
Hi,
I'm looking to roll over my log file on a daily basis (not based on file
size) and was wondering how this can be done.
I