Skip to main content
Setting logging levels for the Server and File Transfer Service


Setting logging levels for the Server and File Transfer Service

You set the logging level for the Replicate Serverlogs and File Transfer Service logs in Server view. The level you set determines what information is written to the logs. The Server logs provide information about the Qlik Replicate Server instance you are working with as opposed to individual tasks. For information on configuring the task logs, see Setting the task logging level.

The following logging levels are available, ordered from the lowest level to the highest:

  1. Errors
  2. Warnings
  3. Info
  4. Trace
  5. Verbose

The higher levels always include the messages from the lower levels. Therefore, if you select Error, only error messages are written to the log. However, if you select Info, informational messages, warnings, and error messages are included. Selecting Verbose writes all possible messages to the log.

You can set a global logging level for all components or you can set a separate logging level for each component.

  1. On the left side of the Server view, click Logging and then click the Server Logging Levels or File Transfer Service Logging Levels sub-tab as required.

    The Component Logging Level sliders are displayed.

  2. To set a global logging level, move the top slider (the slider with the labels) to the log level you want. Note that all of the sliders for the individual modules move to the same position that you set in the main slider.
  3. Make any changes to the sliders for the individual modules. This is optional. Note that if you change the main slider, all of the individual sliders are reset to the new position. If you want to maintain a different logging level for a specific module, you need to reset it.
  4. Click Save at the top of the screen. Changes to the logging level take place immediately. There is no need to restart the Qlik Replicate Server.

    Information note

    Click Save to save the information for all settings, not only for the logging settings. If you made changes that you do not want to keep, click Discard Changes to discard all changes before you make changes to any of the other settings.

Storing trace and verbose logging in memory

When the logging level is set to "Trace" or "Verbose", you can instruct Replicate to store the logging information in memory until an error occurs. On detecting an error, Replicate will begin writing to the physical logs and continue to do so for a few minutes after the initial occurrence of the error.

If no error occurs before the allocated memory is used up, Replicate will empty the memory buffer and start afresh.

This option is useful for tasks that fail unpredictably and for no obvious reason. The problem with continually writing large amounts of information to the logs is twofold:

  • Running in "Trace" or "Verbose" logging mode will quickly use up available disk space (unless the logging settings have been configured to prevent this).
  • Continually writing large amounts of data to the logs will affect performance.

To use this option

  1. Select the Store trace/verbose logging in memory, but if an error occurs, write to the logs check box at the top of the tab.
  2. In the Allocate memory up to (MB) field, specify the amount of memory you want to allocate for storing logging information.