From e77efbc12e4ed62423a3c93db9d55e0346cf059c Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 19 May 2010 15:29:28 +0000 Subject: Add ability for logger channels to include *all* levels. Now that Asterisk modules can dynamically create and destroy logger levels on demand, it's useful to be able to configure a logger channel (console, file, whatever) to be able to accept log messages from *all* levels, even levels created dynamically. This patch adds support for this, by allowing the '*' level name to be used in logger.conf. Review: https://reviewboard.asterisk.org/r/663/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264160 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/logger.conf.sample | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configs/logger.conf.sample') diff --git a/configs/logger.conf.sample b/configs/logger.conf.sample index c9e9890a7..75e10e46a 100644 --- a/configs/logger.conf.sample +++ b/configs/logger.conf.sample @@ -73,6 +73,15 @@ ; (see 'astlogdir' in asterisk.conf), or absolute paths that begin with ; '/'. ; +; Special level name "*" means all levels, even dynamic levels registered +; by modules after the logger has been initialized (this means that loading +; and unloading modules that create/remove dynamic logger levels will result +; in these levels being included on filenames that have a level name of "*", +; without any need to perform a 'logger reload' or similar operation). Note +; that there is no value in specifying both "*" and specific level names for +; a filename; the "*" level means all levels, and the remaining level names +; will be ignored. +; ; We highly recommend that you DO NOT turn on debug mode if you are simply ; running a production system. Debug mode turns on a LOT of extra messages, ; most of which you are unlikely to understand without an understanding of -- cgit v1.2.3