From 1a79c9c18234fd8329e2315dec862cf7c32db8b3 Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Wed, 12 Sep 2012 17:13:02 +0000 Subject: 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 --- configs/logger.conf.sample | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs') 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 -- cgit v1.2.3