Duh!
It was declared twice, the second was overriding the first declaration
not just (re)setting again the log level on the logger. Since the
second declaration has no appender, no files were being created.
Thank you!
On Tue, Jan 18, 2011 at 3:18 PM, Tim Watts wrote:
> This may not be relevant
This may not be relevant but you have the logger for MyClass is declared
twice. Try removing the 2nd one.
On the other hand, it may be that log4j assumes the part after 'logger'
is a package not a class? You could try using an xml config instead. But
I would check the source code first (Properties
I really just want the log statements of a single class (MyClass) to
be directed to the new file. (set of files since I want to use the
daily rolling appender)
I can't figure what I am doing wrong. Any help is appreciated.
I am using log4j 1.2.13
On Tue, Jan 18, 2011 at 2:31 PM, Jorge Medina
wr
Hello,
I am trying to direct the output of a single class (MyClass) to a
different log file.
I added the following lines to my log4j configuration
###
# Metrics Logger Appender
#