Skip to main content

Troubleshooting logs

The log messages produced by Qlik NPrinting provide important information that can be used to detect security incidents, operational problems, and policy violations.

Where are the log files stored?

Logs are stored in the %ProgramData%\Nprinting\Logs folder. The default location is C:\ProgramData\NPrinting\Logs.

How to change the log level

The log level is set to INFO by default. To change the log level to DEBUG of a Windows service, do the following:

  1. Open the appropriate configuration file with a text editor:
    • C:\Program Files\NPrintingServer\NPrinting\Engine\Qlik.NPrinting.Engine.exe.config
    • C:\Program Files\NPrintingServer\NPrinting\Scheduler\Qlik.NPrinting.Scheduler.exe.config
    • C:\Program Files\NPrintingServer\NPrinting\WebEngine\Qlik.NPrinting.WebEngine.exe.config

    Where C:\Program Files\NPrintingServer is the Qlik NPrinting Server installation path. Adapt it to your installation if necessary.

  2. Search for the string <appender name="LogFileAppender".
  3. Remove the previous line, that is an html open comment tag <!--.
  4. Remove the also related html comment close tag --> that is after the string </appender>.
  5. Search for the string <appender-ref ref="LogFileAppender" />.
  6. Remove previous line that is an html open comment tag <!--.
  7. Remove the also related html comment close tag -->.
  8. Save the edited file.
  9. Restart the corresponding Windows service.

These settings will create a new log file for each service that you applied them to. The new log file has the same name of the log file with INFO details level followed by _dev. So they will be:

  • nprinting_scheduler_dev.log
  • nprinting_webengine_dev.log
  • nprinting_engine_dev.log

The default log files will still be present and will continue to have only INFO level information.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!