6 Replies Latest reply on Sep 23, 2008 5:51 AM by M Chan

    Why debug messages in my webapp is in boot.log

    M Chan Newbie

      Why debug messages in my webapp is in boot.log? I didn't tell jboss to direct debug messages to the file. I have a custom log4j.properties for which I use to configure log4j and start up jboss with the additional JAVA_OPTS as follow:

      JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file:/Developments/jboss_AS/jboss-4.2.3.GA/server/default/deploy/myApp.war/resources/log4j.properties"

      Content of log4j.properties:

      log4j.appender.CONSOLE.layout.ConversionPattern=%-5p [%X{RemoteAddr}] (%X{Tenant}) [%c{1}] %m%n
      log4j.rootLogger=INFO, CONSOLE
      log4j.logger.org.springframework.aop.framework.Cglib2AopProxy=error, CONSOLE

      Jboss do pick up the settings, but it still logs in boot.log, is there anyway to stop it? because this is reducing performance.