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, and more) through a standard .NET application or web configuration file.
The supported trace sources are:
Name | Description |
---|---|
Kofax.CEBPM.DataLayer |
The main Data Layer trace source ; it contains the majority of important log statements. |
Kofax.CEBPM.DataLayer.NHibernate |
The supplementary NHibernate logging trace source. You must use it with care as it contains a lot of information. |
Kofax.CEBPM.DataLayer.Imaging |
The imaging trace source; it contains 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>