0 Replies Latest reply on Jul 2, 2013 5:08 AM by shanthchandra

    jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled

    shanthchandra

      Error messages are not being generated in jboss server.log This makes troubleshooting very hard. We are getting authentication error messages in the jboss server logs. It works by putting the below tag:

       

       

      Add the following category the file.

      <code>

       

       

      <category name="com.tricubes">

      <priority value="INFO" />

      <appender-ref ref="FILE"/>

      <appender-ref ref="CONSOLE"/>

      </category>

       

       

      </code>

       

       

      In addition, the jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled. I want such that we should not do a touch for the jboss-log4j.xml and also how can I get this tag by default in .xml file.