File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes  jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark " jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled" Watch " jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled" New topic
Author

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

Prashanth Chandra
Ranch Hand

Joined: Dec 07, 2005
Posts: 79
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jboss-log4j.xml file must be touched once the jboss server is started up for logging to be enabled