Can we control the logging level to class level instead of package level?

2003-12-08 Thread Song
Hi, Can I do something like this : For specific class in certain package, don't log the event using specific appender while allowing other classes in the same package to do that? Thanks. Song - To unsubscribe, e-mail

Re: Can we control the logging level to class level instead of package level?

2003-12-08 Thread Song
believe you can also specify NONE -- /logger Thanks a lot! shamelessplug check out The Complete Log4j Manual by Ceki Gulcu /shamelessplug I already bought it and it's on the way. Song -Scott Heaberlin -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Song

Re: Can we control the logging level to class level instead of package level?

2003-12-08 Thread Song
config: logger name=com.tumbleweed.messenger.server.ejb.impl.EventLoggerSessionEJB level value=INFO/ appender-ref ref=CONSOLE/ /logger root appender-ref ref=CONSOLE/ appender-ref ref=FILE/ appender-ref ref=JDBC/ appender-ref ref=NTEventLog/ /root Thanks. Song Scott

How to disable tomcat's default log and use log4j's?

2002-10-01 Thread Qian Song
I am using tomcat 1.3 and I am also using log4j to control my logs. But I got 2 logs at the same time. one is at tomcat\logs\jvm.stdout which got set up at wrapper.properties(tomcat's log) and the other one is at tomcat\mylog.log which is set up at log4j.properties(log4j's log). I want to use

RE: How to disable tomcat's default log and use log4j's?

2002-10-01 Thread Qian Song
the consoleappender -Original Message- From: Qian Song [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 4:47 PM To: [EMAIL PROTECTED] Subject: How to disable tomcat's default log and use log4j's? I am using tomcat 1.3 and I am also using log4j to control my logs. But I got 2

RE: How to disable tomcat's default log and use log4j's?

2002-10-01 Thread Qian Song
, Stijn -Original Message- From: Qian Song [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 4:47 PM To: [EMAIL PROTECTED] Subject: How to disable tomcat's default log and use log4j's? I am using tomcat 1.3 and I am also using log4j to control my logs. But I got 2 logs

config log file name with time stamp

2003-02-18 Thread Danni Song
Hello there, I have a problem to create a log file named with date/time stamp, such as xxx.YYMMDDhhmm. What I need is to roll over some log files every five minutes. I have achieved this by writing a cronjob to call log4j Roller every 5 miniutes. The roller then fires the