Difference between revisions of "Debug log info"

From OpenKM Documentation
Jump to: navigation, search
Line 16: Line 16:
  
 
<source lang="xml">
 
<source lang="xml">
<category name="com.openkm">
+
<category name="com.openkm.api">
 
   <priority value="DEBUG" />
 
   <priority value="DEBUG" />
 
</category>
 
</category>
<category name="com.openkm.core.OKMAccessManager">
+
<category name="com.openkm.util.DocConverter">
   <priority value="ERROR" />
+
   <priority value="DEBUG" />
 
</category>
 
</category>
 
</source>
 
</source>

Revision as of 11:07, 26 January 2012

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.api">
   <priority value="DEBUG" />
</category>
<category name="com.openkm.util.DocConverter">
   <priority value="DEBUG" />
</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)