Enabling Verbose Logging

By default, Nymi Enterprise Server (NES) logs information level messages to the log files. When you encounter an issue, Nymi Support might request that you enable verbose mode for each web service, retry the operation, and then review the messages that appear in each log file. NES has a feature that writes previously encountered error messages to log files when you increase the logging level, so it is not necessary to leave NES in debug mode after troubleshooting completes. Logging levels include Critical, Error, Warning, Information, and Verbose.

To enable verbose logging mode, perform the following steps:

  1. Edit the C:\inetpub\wwwroot\nes_service_name\nes\web.config file and in the <system.diagnostics> section, change the value for each add name parameter from Information to Verbose.
    For example:
    
                            <system.diagnostics>
                                 <switches>
                                    <add name=”Global” value=”Verbose” />
                                    <add name=”Authentication” value=”Verbose” />
                                </switches>
                            <system.diagnostics>
                                    
                        
  2. Edit the C:\inetpub\wwwroot\nes_service_name\nenrollment\web.config file and in the <system.diagnostics> section, change the value for each add name parameter from Information to Verbose.
    For example:
    
                            <system.diagnostics>
                                <switches>
                                    <add name=”Global” value=”Verbose” />
                                    <add name=”Authentication” value=”Verbose” />
                                    <add name=”CertificateEnrollment” value=”Verbose” />
                                 </switches>
                            <system.diagnostics>
                        
  3. Edit the C:\inetpub\wwwroot\nes_service_name\authenticationservice\web.config file and in the <system.diagnostics> section, change the value for each add name parameter from Information to Verbose.
    For example:
    
                            <system.diagnostics>
                                <switches>
                                     <add name=”Global” value=”Verbose” />
                                     <add name=”Authentication” value=”Verbose” />
                                  </switches>
                            <system.diagnostics>
                        
  4. Restart the IIS.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share