Troubleshooting
Repository Browser uses .NET tracing capabilities to simplify troubleshooting tasks. It is possible to enable or disable logging so that you can control the logging level (errors, warnings, etc.) through standard a .NET application or web configuration file.
The supported trace sources are:
Name | Description |
---|---|
Kofax.CEBPM.DataLayer |
Main Data Layer trace source - contains majority of important log statements. |
Kofax.CEBPM.DataLayer.NHibernate |
Supplementary NHibernate logging, use with care - it contains a LOT of information. |
Kofax.CEBPM.DataLayer.Imaging |
Information about image processing operations. |
The following XML snippet shows how to enable logging in the configuration file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.diagnostics>
<trace autoflush="true"/>
<sources>
<!-- Main Data Layer trace source - contains majority of important log statements -->
<source name="Kofax.CEBPM.DataLayer" switchValue="Warning">
<listeners>
<clear/>
<add name="DataLayerAll"/>
</listeners>
</source>
<!-- Supplementary NHibernate logging, use with care - it contains a LOT of information -->
<source name="Kofax.CEBPM.DataLayer.NHibernate" switchValue="Warning">
<listeners>
<clear/>
<add name="DataLayerAll"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add name="DataLayerAll"
initializeData="Kofax.CEBPM.DataLayer.log"
type="System.Diagnostics.XmlWriterTraceListener"/>
</sharedListeners>
</system.diagnostics>
</configuration>