1 Reply Latest reply on Oct 18, 2004 1:07 PM by khurle

    JBoss Logger instance not working

    johnoos

      I reduced log4j.xml down to its simplest form, i.e. customised loggers and appenders. But when I do the following:

      import org.jboss.logging.Logger;

      Logger logger = Logger.getLogger("mypagkage.Myclass");

      logger.info("Some text");

      nothing comes though to either the console or server.log, the two standard appenders for the root logger.

      The log4j.xml file is being picked up by JBoss, because when I change the thresholds on the 2 standard appenders (CONSOLE and FILE), the JBoss console level of logging changes accordingly.

      Please help.

      Thanks, John