Debug log info

From OpenKM Documentation
Revision as of 11:02, 26 January 2012 by Pavila (talk | contribs)

Jump to: navigation, search

To provide a convenient log info, please follow these steps:

  • Stop JBoss.
  • Remove the directory $JBOSS_HOME/server/default/log
  • Remove the directory $JBOSS_HOME/server/default/tmp
  • Remove the directory $JBOSS_HOME/server/default/work
  • Edit the file $JBOSS_HOME/server/default/conf/jboss-log4j.xml and locate this comment at the end:
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
  • Before the comment, add this entry:
<category name="com.openkm">
   <priority value="DEBUG" />
</category>
<category name="com.openkm.core.OKMAccessManager">
   <priority value="ERROR" />
</category>
  • Take a look at Debugging OpenKM for more info.
  • Start JBoss.
  • Try to reproduce the error.
  • Send the file located at $JBOSS_HOME/server/default/log/server.log (zipped, please)