]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - asterisk.logrotate
Version: 13.16.0
[packages/asterisk.git] / asterisk.logrotate
index a5ecc5ffe694bb737b7b8b71908367abf72d5d2b..0454f8ba5c06a1a6a9c33acd5c2ddcad043ca481 100644 (file)
@@ -1,12 +1,19 @@
-/var/log/asterisk/* /var/log/asterisk/*/* {
-       create 640 root logs    
-        daily
-        missingok
+/var/log/asterisk/*_log
+/var/log/asterisk/debug
+/var/log/asterisk/console
+/var/log/asterisk/messages
+/var/log/asterisk/full
+{
+       olddir /var/log/archive/asterisk
+       su root asterisk
+       create 640 asterisk asterisk
+       daily
+       missingok
        compress
        delaycompress
-        rotate 30
-        sharedscripts
-        postrotate
-                /sbin/service asterisk logger-reload
-        endscript
+       rotate 30
+       sharedscripts
+       postrotate
+               /sbin/service asterisk logger-reload
+       endscript
 }
This page took 0.034046 seconds and 4 git commands to generate.