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