RE: How to set different levels per appender

2006-06-27 Thread Joshua.P.Williams
Yes.. :-) I've switched to using an XML config file with a LevelRangeFilter, and it seems to work fine this way.. -Original Message- From: Javier Gonzalez [mailto:[E

RE: How to set different levels per appender

2006-06-26 Thread Joshua.P.Williams
This didn't seem to work... It generates a warning WARN - No such property [threshold] in org.apache.log4j.RollingFileAppender. -Original Message- From: dirk ooms [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 2:27 PM To: Log4J Users List Subject: Re: How to set different levels pe

How to set different levels per appender

2006-06-26 Thread Joshua.P.Williams
I have multiple appenders, and I would like for one (of this to have a detailed log level (trace), and the other to just have a log level for warnings and up. I would like for the "logfile" and "xml" appenders to have the detailed results, and I would like for the "html" appender to just have war

RE: Best practice on declaring Loggers

2006-06-13 Thread Joshua.P.Williams
I'm new to JAVA and log4j, but I created a singleton object to be my logger that is used by all the classes in a single threaded project I'm working on.. Is this bad? I suppose I didn't know how to use the log4j api correctly, but I was getting duplicate records in my logs, so I created a singl

RE: Chainsaw doesn't show receiver tab for LogFilePatternReceiver

2006-06-08 Thread Joshua.P.Williams
I started Chainsaw, and manually created the receiver (this time leaving the filterExpression blank). I get a message saying that my reciver started ("TGV started!") in the chainsaw log, but I never get a tab created at the top. I have saved the events and attached them to this e-mail. You can s

Chainsaw doesn't show receiver tab for LogFilePatternReceiver

2006-06-08 Thread Joshua.P.Williams
I am using log4j in one of my projects and was hoping to be able to read this file with chainsaw, however after setting up a receiver for my log file within chainsaw, I don't get a tab to view the results. I have attached a sample log file to this e-mail. I have also tried using the attached conf