Hi,
Do you realize that the log appender (debug.log) will have both DEBUG
and ERROR logs whereas
the errorlog appender (error.log) will have the ERROR logs.
Regards
-Ravi
--
To unsubscribe, e-mail: mailto:log4j-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
Hello,
I am having problems using NTEventLogAppender with Log4J 1.2.7
I have a Hello World program (attached) with a short properties file
(attached). I have also placed NTEventLogAppender.dll in my C:\WinNT\System32\
directpry which is in my path. The program runs with no exceptions. However
Hello friends
please tell me
What is the difference between rootLogger and rootCategory
in the configuration
log4j.rootCategory=DEBUG, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d
Log4j has gone away from using Category and now uses Logger in its
place. Just Category is still around for backward compatibility. You
should see very little difference (as they both work) now, but I don't
think categories will exist in Log4j-1.3 so start using loggers now.
Jake
At 09:23