0 Replies Latest reply on Oct 22, 2003 1:49 AM by Jim Harrison

    Log4j configuration - logging levels

    Jim Harrison Newbie

      Hello,

      I'm experiencing some difficulty setting the logging level for specific packages using the Log4j DOM configurator (log4j.xml) in JBoss 3.0.6.
      I know this should be simple and can be done something like this in the log4j.properties file...
      log4j.logger.com.mycompany.myproject=debug

      From my understanding of the log4j DTD, the equivalent should be...



      ...but this doesn''t appear to work!

      I've also tried adding an appender reference...


      <appender-ref ref="CONSOLE"/>

      ...but this doesn't work either.

      Any experts out there who can tell me what I'm doing wrong here...?

      TIA,
      Jim