Maintenance

Maintenance

Maximum log file size [xx] KB

This is the maximum size in kilobytes that a log file may reach. Once this size is reached, the log file is copied to "LOGFILENAME.01.OLD" and a new log is started. If LOGFILENAME.01.OLD already exists then the old file will either be deleted or renamed to "LOGFILENAME.02.OLD," depending on the value set in "Maximum number of .OLD logs to keep" below. Use "0" in this option if you do not with to limit the size of the file. This option is set to "0" by default.

Maximum number of .OLD logs to keep (1-99)

When using the option above to limit log file size, this option governs how many iterations of a given .OLD log file will be kept before the oldest is deleted. These backup files are named, "LOGFILENAME.01.OLD," "LOGFILENAME.02.OLD," and so on, with the newest file always listed first. For example, SMTP(out).log.01.old has newer data than SMTP(out).log.02.old, etc. When the maximum number is reached, the oldest file is deleted when a new file is created.

Maximum days of AV update log data (0=no limit)

This option governs the maximum number of days that the Antivirus update log (i.e. avupdate.log) will keep data. At midnight each night, and also whenever MDaemon starts after upgrading, older data will be deleted from the file. Use "0" in this option if you do not wish to set a time limit. By default the last 30 days of data are kept.

The AV update log is maintained by default and its size is limited to 5120 KB. If you wish to change its size limit or disable AV update logging, the options to do so are located on the AV Updater Configuration dialog, located at: Security » AntiVirus » AV Updater » Configure updater » Misc.

Archiving

Archive log files older than [XX] days (0=never)

Click this option if you want MDaemon to archive each log file whose age exceeds the number of days specified. Each day at midnight, MDaemon will ZIP old *.log and *.old files and move them to the \Logs\OldLogs\ subfolder (deleting the original files in the process). This process will not archive or delete files that are in use, nor will it archive files when the "Log everything into a separate log file (MDaemon-all.log)" option is selected on the Log Mode screen.

Delete archives older than [XX] days (0=never)

Use this option if you want MDaemon to delete archived log files automatically when their age exceeds the number of days specified here. Use "0" in this option if you do not wish to delete archives automatically. Archive deletion occurs during the daily midnight cleanup event.

Archive now

Click this button to archive old log files immediately rather than waiting for MDaemon to archive them automatically at midnight.