Skip to main content

Logging

You can set the logging level for task logs by selecting the Logging tab in the Task Settings dialog box and then selecting the Logging Level sub-tab.The level you set determines what information is written to the log.

Note:

You can also set the task logging level from the Tools menu in Monitor view.

For more information, see Monitor mode and Setting the task logging level.

For more information on monitoring, see Monitor mode. For more information on setting the task logging level in Qlik Replicate, see the Qlik Replicate Setup and User Guide.

The following are the available logging levels. The list is in order from the lowest level to the highest level.

  1. Error
  2. Warning
  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.

For information on how to set the logging level, see Setting the task logging level.

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.