Getting all current loggers

2003-01-07 Thread Craig Smith
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

JMX

2002-09-04 Thread Craig Smith
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

8/7 manual - nitpicks

2002-08-31 Thread Craig Smith
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

Re: LogFactor5 files

2002-07-31 Thread Craig Smith
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

Re: How to use Chainsaw?

2002-07-29 Thread Craig Smith
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

SNMPAppender

2002-07-24 Thread Craig Smith
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

Re: configuration info ?

2002-07-18 Thread Craig Smith
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

Re: Daily rollover of log file

2002-07-16 Thread Craig Smith
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