summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-metrics/snmp_exporter/files/snmp_exporter.logrotated')
-rw-r--r--app-metrics/snmp_exporter/files/snmp_exporter.logrotated7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-metrics/snmp_exporter/files/snmp_exporter.logrotated b/app-metrics/snmp_exporter/files/snmp_exporter.logrotated
new file mode 100644
index 00000000000..a34537f58c3
--- /dev/null
+++ b/app-metrics/snmp_exporter/files/snmp_exporter.logrotated
@@ -0,0 +1,7 @@
+/var/log/snmp_exporter/snmp_exporter.log {
+ missingok
+ size 5M
+ rotate 3
+ compress
+ copytruncate
+}