2020-10-18 02:08:03 +08:00
|
|
|
# logrotate configuration for Memgraph Enterprise
|
2019-02-19 20:50:46 +08:00
|
|
|
# see "man logrotate" for details
|
|
|
|
|
2021-09-30 01:14:39 +08:00
|
|
|
/var/lib/memgraph/audit/audit.log {
|
2019-02-19 20:50:46 +08:00
|
|
|
# rotate log files daily
|
|
|
|
daily
|
|
|
|
# keep one year worth of audit logs
|
|
|
|
rotate 365
|
|
|
|
# send SIGUSR2 to notify memgraph to recreate logfile
|
|
|
|
postrotate
|
|
|
|
/usr/bin/killall -s SIGUSR2 memgraph
|
|
|
|
endscript
|
|
|
|
}
|