Posted By:
D_Garcia
Posted On:
Monday, January 20, 2003 01:52 AM
Hi: I am using a configuration file like (and it works): log4j.rootLogger=debug, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (% F:%L) - %m%n But using a XML file like, a get the messages: "log4j:WARN No appenders could be found for logger" and "log4j:WARN Please initialize the log4j system properly" : <?xml version="1.0" encoding="UTF-8"?>
More>>
Hi:
I am using a configuration file like (and it works):
log4j.rootLogger=debug, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%
F:%L) - %m%n
But using a XML file like, a get the messages:
"log4j:WARN No appenders could be found for logger"
and
"log4j:WARN Please initialize the log4j system properly"
:
<?xml version="1.0" encoding="UTF-8"?>
I have not idea where is the error.
Thanks in advance,
David G.