aspose file tools*
The moose likes Other Open Source Projects and the fly likes Log4j2.xml logs not getting printed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j2.xml logs not getting printed. " Watch "Log4j2.xml logs not getting printed. " New topic
Author

Log4j2.xml logs not getting printed.

Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 266
Hi Friends,

my log4j2.xml is configured something like:

<loggers>
<logger name="xyz" level="info">
<appender-ref ref="filename"/>
</logger>

<root level="info">
<appender-ref ref="console"/>
<appender-ref ref="file"/>
</root>

</loggers>

Somehow only INFO level logs are getting printed on the console and file. My other level logs are not getting printed.

How could I get other level logs such as trace, warn, error, debug printed.

Please kindly help

Thanks and Regards,
Sid
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j2.xml logs not getting printed.