JBoss Community

Using Log4J in AS7

created by David Bosschaert in JBoss AS7 Development - View the full discussion

I'm trying to get a number of logging mechanisms to work in AS7 (standalone mode) in the context of JBAS-8429.

JBoss logging works fine for me and my log messages appear nicely in the standalone/logs/boot.log file.

 

However Log4J messages don't get through yet. Can I configure Log4J such that it sends its log messages to the same destination as JBoss Logging?

Once I've done Log4J I'd also like JUL, apache commons logging and SLF4J all to go to the same destination. Any tips for these?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community