Service log files are located in the /var/log/service-name folder.

EVI services do not perform automatic log rotation. 

To configure rotation, use the logrotate utility according to your system requirements.

Example of configuration for rotating the file /var/log/evi-core/evi-core.log.

/var/log/evi-core/evi-core.log
{
        hourly
        size 100M
        dateext
        dateformat -%Y-%m-%d_%H-%s
        missingok
        rotate 15
        copytruncate
		compress
        notifempty
}

Explanation of parameters:

ParameterDescription
hourlyrotation every hour
size 100Mrotation when reaching a size of 100 MB
dateextadding a date to the name of an archive log
dateformatdate format in file name
missingoknot an error if the file is missing
rotate 15store up to 15 backup copies
copytruncatecopy and trim the current log (without rebooting the service)
notifemptydo not rotate if the log is empty