Skip to main content

Automatic log rollover and cleanup

You can define when Enterprise Manager should roll over the system log file and WebLog file and when to purge old log files. The current log files are called EnterpriseManager.log and Attunity.WebLog.log, respectively. Rolled over log files have a 12-digit timestamp appended to their name, such as EnterpriseManager_160407111842.log or Attunity.WebLog_160717115348.log.

Automatic rollover is enabled by default. You can also perform rollover manually if needed. See Manual log rollover.

  1. In the top right corner, click the gear (settings) icon.
  2. In the Settings window, in the Logging|Log File Management tab:

    • Select the Enable automatic rollover check box to have log files rolled over at the default size of 100 MB. By default, this check box is selected.
    • If you prefer a different cutoff size for rollover, select the check box Roll over the log if the log file is larger than (MB): and specify a different file size. When the log file reaches the specified size, the old log is saved with a timestamp appended to its name and a new log file is started. The maximum file size is 1,024 MB.
    • Under Maximum number of newest log files to keep, specify the maximum number of log files to keep. By default, this is 45 files. The maximum number of files cannot exceed 100. Enterprise Manager keeps the newest log files and removes any files beyond the specified number.
  3. Click OK.