The popular log settings are outlined here: Process Automation - Increase logging levels, file size and rollover for PAM logs
This is sufficient for most issues where additional details are needed. Occasionally, more information is helpful. The steps outlined here can offer more more information - though sometimes at a cost of logging an extreme amount of data and possibly sensitive data too (example: variable values).
Release : 4.3
Component : Process Automation
If this type of logging is acceptable for a short amount of time then it is recommended to also make sure the following is true for param name="File" value="${jboss.server.home.dir}/log/c2o.log":
The extreme trace settings can be described by its XPATH using the following:
Example:
Change this section from:
<!-- <appender name="C2OFILE" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> -->
<param name="File" value="${jboss.server.home.dir}/log/c2o.log"/>
<param name="Threshold" value="ERROR"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="50000KB"/>
<param name="MaxBackupIndex" value="3"/>
To:
<!-- <appender name="C2OFILE" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> -->
<param name="File" value="${jboss.server.home.dir}/log/c2o.log"/>
<param name="Threshold" value="TRACE"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="50000KB"/>
<param name="MaxBackupIndex" value="30"/>
Change this section from:
<root>
<priority value="ERROR" />
<appender-ref ref="CONSOLE"/>
<appender-ref ref="C2OFILE"/>
</root>
To:
<root>
<priority value="TRACE" />
<appender-ref ref="CONSOLE"/>
<appender-ref ref="C2OFILE"/>
</root>
Finally, above the <root> section above, add:
<category name="com">
<priority value="ALL"/>
</category>