This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Prashanth Chandra
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic