Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
iti-attunity-sup
Partner - Creator III
Partner - Creator III

Regarding the setting "Store trace/verbose logging in memory, but if any error occurs write to the logs"

Hello Support Team,

I hope you are doing well.

 I would like to clarify a few points as we were unable to verify the behavior internally.

If an error is output while this setting is active, but the task continues to run:

  • Do we need to manually lower the log level back to its original state?

  • Or, in the case of a transient error, will the log level automatically revert to the original setting once the error is resolved?

Best Regards.

Labels (1)
1 Solution

Accepted Solutions
SachinB
Support
Support

Hello @iti-attunity-sup 

 

Qlik Replicate allows you to capture detailed Trace or Verbose logs in a memory buffer rather than writing them continuously to disk. This feature, often called conditional logging, is designed to troubleshoot unpredictable errors without the performance overhead and disk space consumption of constant high-level logging


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.

No, you do not need to manually lower the log level after an error is resolved. The setting is designed to stay active in the background, continuously buffering trace or verbose data in memory without writing it to disk unless another error occurs. You only need to manually change it if you want to stop collecting detailed diagnostics altogether

Yes. When a transient error is detected, Replicate automatically flushes the memory buffer to the physical log file. It then continues writing detailed logs directly to disk for a few minutes following the initial error. After this brief period, the system automatically reverts to its original state, once again storing the trace/verbose information in memory rather than writing it to disk

Please refer the below link for more information 

Qlik-Replicate-How-to-store-trace-and-verbose-logging-in-memory 

tasks_loggingSettings 


Regards,

Sachin B

View solution in original post

1 Reply
SachinB
Support
Support

Hello @iti-attunity-sup 

 

Qlik Replicate allows you to capture detailed Trace or Verbose logs in a memory buffer rather than writing them continuously to disk. This feature, often called conditional logging, is designed to troubleshoot unpredictable errors without the performance overhead and disk space consumption of constant high-level logging


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.

No, you do not need to manually lower the log level after an error is resolved. The setting is designed to stay active in the background, continuously buffering trace or verbose data in memory without writing it to disk unless another error occurs. You only need to manually change it if you want to stop collecting detailed diagnostics altogether

Yes. When a transient error is detected, Replicate automatically flushes the memory buffer to the physical log file. It then continues writing detailed logs directly to disk for a few minutes following the initial error. After this brief period, the system automatically reverts to its original state, once again storing the trace/verbose information in memory rather than writing it to disk

Please refer the below link for more information 

Qlik-Replicate-How-to-store-trace-and-verbose-logging-in-memory 

tasks_loggingSettings 


Regards,

Sachin B