Server logs

Logging levels are set up in the file

/etc/saymon/logger.json

Log files rotation is performed in the file

/etc/logrotate.d/saymon

where

Parameter Description

/var/log/saymon/saymon-rest-server.log/var/log/saymon/saymon-server.log

Log files location.

daily

Daily rotation.

missingok

Not to stop rotation if one of the files is missing.

rotate N

Files storing duration in days.

compress

Compress log files to .gzip.

notifempty

Not to rotate log-file if it is empty.

copytruncate

To write log to one file, truncating it after each rotation step.