Setting the component log level

You can configure the level of information that appears in component log files.

  1. On the AutoStore server, browse to the web.config file; for example:

    C:\Program Files\Nuance\AutoStore\WebKyocera20Capture\web.config

  2. Open the file in a text editor.
  3. In the <nlog> element at the top of the file, locate the logger element in the rules element.
  4. Set the log level by specifying a value for the minlevel attribute as described in the following table:
    Level Description
    Off The component does not generate log information.
    Fatal Log files contain fatal error information.
    Error Log files contain error message information.
    Warn Log files contain warning messages, typically for non-critical recoverable issues or temporary failures.
    Info Log files contain information messages that are normally enabled in a production environment. As a best practice, use this level to reduce logging output.
    Debug Log files list debugging information. The information is less detailed than trace information. This level is typically not enabled in a production environment.
    Trace Log files contain detailed log information. The information may include high-volume information such as protocol payloads. This level is typically only enabled during development.

    The following example shows the code for listing information messages in the log file:

    <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   
        <targets>     
            <target xsi:type="File" name="FileTarget" fileName="${basedir}/Logs/Kyocera_${shortdate}.log" layout="[${time}][${level}][${callsite}][${message}]${exception}"/>   
        </targets>
        <rules>
            <logger name="*" minlevel="Info" writeTo="FileTarget"/>
        </rules>
    </nlog>
  5. Save your changes to the file.
Refer to https://github.com/nlog/nlog/wiki for more information on NLog.