# EDON Argos: rotation of the MCP gateway's refusals (installed as
# /etc/logrotate.d/argos-mcp by the argos package, run by logrotate.timer).
# The console opens the file for each line it appends and CrowdSec follows it
# by name (its file acquisition reopens a log that was renamed), so a rename is
# enough: no signal, never copytruncate. The newest rotated file stays
# uncompressed for one week, so CrowdSec has read its last lines before it is
# compressed. The console throttles what it writes (30 lines a minute from one
# address, 600 in all), so four weeks stay small.
/var/log/argos/mcp-refused.log {
	weekly
	rotate 4
	missingok
	notifempty
	create 0640 root root
	compress
	delaycompress
}
