summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf')
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf
new file mode 100644
index 0000000..01a1cc0
--- /dev/null
+++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.logrotate.conf
@@ -0,0 +1,7 @@
+/var/log/lora-*.log {
+ size 512k
+ rotate 4
+ compress
+ copytruncate
+ missingok
+}