summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-09-12 17:13:02 +0000
committerJonathan Rose <jrose@digium.com>2012-09-12 17:13:02 +0000
commit1a79c9c18234fd8329e2315dec862cf7c32db8b3 (patch)
tree85e48acecacd64a7ca542938103776f4e5cb3d39 /configs
parentb0a4f08928eb2d3677eee122f2ffce04eb7dd076 (diff)
logger: Add rotatestrategy option of 'none' which does not perform rotations
With this option in use, it may be necessary to regulate your log files externally. (closes issue ASTERISK-20189) Reported by: Jaco Kroon Patches: asterisk-logger-norotate-trunk.patch uploaded by Jaco Kroon (license 5671) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/logger.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/logger.conf.sample b/configs/logger.conf.sample
index 1fdac7030..406d6d820 100644
--- a/configs/logger.conf.sample
+++ b/configs/logger.conf.sample
@@ -40,6 +40,9 @@
;queue_log_name = queue_log
;
; Log rotation strategy:
+; none: Do not perform any logrotation at all. You should make
+; very sure to set up some external logrotate mechanism
+; as the asterisk logs can get very large, very quickly.
; sequential: Rename archived logs in order, such that the newest
; has the highest sequence number [default]. When
; exec_after_rotate is set, ${filename} will specify