7 Replies Latest reply on Jan 2, 2013 11:32 AM by techsjs2012

    Using Log4J in AS7

    David Bosschaert Expert

      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?