aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 15:29:28 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 15:29:28 +0000
commit03d43d670caa8a84b9b87a9673bea0204c34aa15 (patch)
tree00839f9270516fc21cf94153dbe5ab7c913f65ed /configs
parent277ba396c8501efd4b653ab491b42ce7779a26a3 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@264160 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/logger.conf.sample9
1 files changed, 9 insertions, 0 deletions
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