aboutsummaryrefslogtreecommitdiff
path: root/system/ossec-local/ossec.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/ossec-local/ossec.logrotate')
-rw-r--r--system/ossec-local/ossec.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/ossec-local/ossec.logrotate b/system/ossec-local/ossec.logrotate
new file mode 100644
index 0000000000000..7b6406819f6fe
--- /dev/null
+++ b/system/ossec-local/ossec.logrotate
@@ -0,0 +1,5 @@
+/var/ossec/logs/active-responses.log /var/ossec/logs/ossec.log {
+ missingok
+ notifempty
+ copytruncate
+}