Instance log files deleted by the system maintenance utilities

If the log files of the Teracloud® Streams instances are deleted, they are not available for troubleshooting purposes. You can change the directory in which the files are stored, or have the system administrator adjust the settings of the system maintenance utilities.

The log files for the long-running instances are deleted by the system maintenance utilities, such as tmpwatch. When these log files are deleted, you cannot use them to troubleshoot the problems that you might encounter when you work with Teracloud® Streams.

The default configuration for Linux system maintenance deletes the unused files and directories from the /tmp directory. If the log level of the instance is set to generate a minimal amount of information, the Teracloud® Streams log files might not be updated frequently enough to keep them from being deleted by the system maintenance processes.
To resolve the problem, you can:
  • Change the directory in which the instance log file is stored.

  • Contact the system administrator, who can adjust the settings of the system maintenance utilities by running the tmpwatch command in the daily cron.script.
    For each long-running instance, exclude the following Teracloud® Streams files and directories:
    /tmp/Streams-domain_ID/streams.instance_ID@instance_owner
    /tmp/Streams-domain_ID/instance_ID@instance_owner.boot.log
    To list the excluded files, use the -x option on the tmpwatch command.