Re: How can I prevent logger inheriting from root?

2008-05-12 Thread Curt Arnold
On May 12, 2008, at 11:16 PM, youhaodeyi wrote: I set many appenders to the root logger and set another logger with only one appender. But the logger will inherit the appenders from root logger. How can I prevent this? Set additivity = false for the logger and events will not be process

How can I prevent logger inheriting from root?

2008-05-12 Thread youhaodeyi
I set many appenders to the root logger and set another logger with only one appender. But the logger will inherit the appenders from root logger. How can I prevent this? -- View this message in context: http://www.nabble.com/How-can-I-prevent-logger-inheriting-from-root--tp17200817p17200817.htm

Thread based logging

2008-05-12 Thread Jon Haitz Legarreta GorroƱo
Hello, this message has to do with the following thread http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200305.mbox/[EMAIL PROTECTED] and as I'm experiencing some problems with the KeyFileAppender class thought you could help me. I've got a configuration file exactly like this o

RE: How Can I Test DailyRollingFileAppender?

2008-05-12 Thread Katy Podolner
I've tested it with the minute date pattern, this way it's easier to follow the logs. Sorry I can't help with the properties file, since I'm using log4.xml. --Katy -Original Message- From: Robert Pepersack [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 3:48 PM To: log4j-user@loggin

How Can I Test DailyRollingFileAppender?

2008-05-12 Thread Robert Pepersack
Hi all, I tried to find an answer for my question in the archives, but I couldn't find it. Please forgive me if this is duplicate post. I'm trying to use DailyRollingFileAppender in the Spring IOC container (J2SE). My OS is Windows. I've tried to test if DailyRollingFileAppender creates an

RE: log timestamp not in sync with system time

2008-05-12 Thread Katy Podolner
Oh, I'm sorry, I was referring to my explanation and not at all to yours... Sorry for the misunderstanding --Katy -Original Message- From: kadaba [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 7:44 AM To: log4j-user@logging.apache.org Subject: Re: log timestamp not in sync with sys