Views:

Question:
How can I enable Trace logging for DocuWare Services?

Answer:
Please refer to the following guide to enable trace logging;

  1. In your file explorer, navigate to C:\ProgramData\DocuWare\LoggingConfig
  2. Make a copy of the “Default.NLog.config” file as a backup
  3. Open the original file and scroll to the end, locating the “xmlLogTarget” levelChange this value from “Error” to “Trace”


Before the change:
<rules>
    <!-- name: allows filtering for namespaces and types as long as the logger is named correctly -->
    <!-- minlevel: Fatal, Error, Warn, Info, Debug, Trace -->
    <logger name="*" minlevel="Error" writeTo="xmlLogTarget" />
    <logger name="*" minlevel="Error" writeTo="consoleLogTarget" />
    <logger name="*" level="Fatal" writeTo="eventLogTarget" />
  </rules>
</nlog>



After the change:
<rules>
    <!-- name: allows filtering for namespaces and types as long as the logger is named correctly -->
    <!-- minlevel: Fatal, Error, Warn, Info, Debug, Trace -->
    <logger name="*" minlevel="
Trace" writeTo="xmlLogTarget" />
    <logger name="*" minlevel="Error" writeTo="consoleLogTarget" />
    <logger name="*" level="Fatal" writeTo="eventLogTarget" />
  </rules>
</nlog>

4. Restart your DocuWare Services, and logging should be capturing Trace events at this time.
Note: Trace logging can create large log files. Once necessary logging has been captured, be sure to revert the above changes so that the logs folder does not grow quickly in size.

KBA is applicable for On-premise Organizations ONLY.