Re-commit the verbose branch.

This change permits each verbose destination (consoles, logger) to have its
own concept of what the verbosity level is.  The big feature here is that
the logger will now be able to capture a particular verbosity level without
condemning each console to need to suffer that level of verbosity.
Additionally, a stray 'core set verbose' will no longer change what will go
to the log.

Review:  https://reviewboard.asterisk.org/r/1599/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2012-02-14 20:27:16 +00:00
parent 51b32041d5
commit a78b0af5ea
19 changed files with 274 additions and 158 deletions

View File

@@ -73,7 +73,7 @@
; notice
; warning
; error
; verbose
; verbose(<level>)
; dtmf
; fax
; security
@@ -93,6 +93,10 @@
; a filename; the "*" level means all levels, and the remaining level names
; will be ignored.
;
; Verbose takes an additional argument, in the form of an integer level.
; Messages with higher levels will be ignored. If verbose is specified at
; all, it will default to 3.
;
; 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