This is the log4j.xml file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Threshold" value="INFO"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{dd/MMM/yyyy HH:mm:ss.SSSS} %m%n"/> </layout> </appender> <logger name="package" additivity="false"> <level value="all"/> <appender-ref ref="console"/> </logger> <root> <level value="error"/> <appender-ref ref="console"/> </root> </log4j:configuration>
Regards, Néstor Boscán On Wed, Sep 14, 2011 at 10:37 AM, Konduru, Geetha <[email protected]>wrote: > Would you please send the configuration... > > -----Original Message----- > From: Néstor Boscán [mailto:[email protected]] > Sent: Wednesday, September 14, 2011 11:06 AM > To: [email protected] > Subject: Log4J not generating DEBUG messages > > Hi > > I have a log4j.xml file configured so that the classes in my package should > generate ALL messages: When I create a simple test class and log info, warn > and error it works but all debug messages are not generated. > > Any ideas? > > Regards, > > Néstor Boscán > > ********************************************************************** > This e-mail message and any attachments contain confidential information > from Medco. If you are not the intended recipient, you are hereby notified > that disclosure, printing, copying, distribution, or the taking of any > action in reliance on the contents of this electronic information is > strictly prohibited. If you have received this e-mail message in error, > please immediately notify the sender by reply message and then delete the > electronic message and any attachments. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
