Debug Components and Services
You can enable debug logging by editing any one of the eCapture configuration file components (e.g. Controller.nlog.config) or a Service configuration file (e.g. Ipro.FileMounting.ServiceHost.nlog.config) using a text editor such as NotePad++.
These configuration files are located in the Configuration directory under C:\ProgramData\Ipro Tech\.
The <rules> section is located toward the bottom of the nlog file.
To debug, change the following from:
<rules>
<!-- add your logging rules here -->
<logger name="*" minlevel="Info" writeTo="production-size-restricted" />
<!--
Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace) to "f"
<logger name="*" minlevel="Debug" writeTo="f" />
-->
</rules>
to:
<rules>
<!-- add your logging rules here -->
<logger name="*" minlevel="Debug" writeTo="production-size-restricted" />
<!--
Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace) to "f"
<logger name="*" minlevel="Debug" writeTo="f" />
-->
</rules>
This will write debug output to the corresponding log file located in the Logs directory under C:\ProgramData\Ipro Tech\. For example, if the Controller.nlog.config was debugged, the output would appear in the Controller.log file.
Related Topics