memgraph/release/logrotate_audit.conf

14 lines
360 B
Plaintext
Raw Normal View History

# logrotate configuration for Memgraph Audit logs
# see "man logrotate" for details
/var/lib/memgraph/durability/audit/audit.log {
# 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
}