Logger/CLI/etc.: Fix some aesthetic issues; reduce chatty verbose messages
This patch addresses some aesthetic issues in Asterisk. These are all just minor tweaks to improve the look of the CLI when used in a variety of settings. Specifically: * A number of chatty verbose messages were removed or demoted to DEBUG messages. Verbose messages with a verbosity level of 5 or higher were - if kept as verbose messages - demoted to level 4. Several messages that were emitted at verbose level 3 were demoted to 4, as announcement of dialplan applications being executed occur at level 3 (and so the effects of those applications should generally be less). * Some verbose messages that only appear when their respective 'debug' options are enabled were bumped up to always be displayed. * Prefix/timestamping of verbose messages were moved to the verboser handlers. This was done to prevent duplication of prefixes when the timestamp option (-T) is used with the CLI. * Verbose magic is removed from messages before being emitted to non-verboser handlers. This prevents the magic in multi-line verbose messages (such as SIP debug traces or the output of DumpChan) from being written to files. * _Slightly_ better support for the "light background" option (-W) was added. This includes using ast_term_quit in the output of XML documentation help, as well as changing the "Asterisk Ready" prompt to bright green on the default background (which stands a better chance of being displayed properly than bright white). Review: https://reviewboard.asterisk.org/r/3547/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- apps/app_mixmonitor.c 1 addition, 1 deletionapps/app_mixmonitor.c
- apps/app_voicemail.c 1 addition, 1 deletionapps/app_voicemail.c
- apps/app_waitforsilence.c 1 addition, 1 deletionapps/app_waitforsilence.c
- bridges/bridge_builtin_features.c 14 additions, 14 deletionsbridges/bridge_builtin_features.c
- cdr/cdr_adaptive_odbc.c 4 additions, 4 deletionscdr/cdr_adaptive_odbc.c
- cdr/cdr_odbc.c 0 additions, 5 deletionscdr/cdr_odbc.c
- cdr/cdr_pgsql.c 2 additions, 3 deletionscdr/cdr_pgsql.c
- cdr/cdr_sqlite3_custom.c 1 addition, 1 deletioncdr/cdr_sqlite3_custom.c
- cel/cel_odbc.c 1 addition, 2 deletionscel/cel_odbc.c
- cel/cel_pgsql.c 1 addition, 2 deletionscel/cel_pgsql.c
- channels/chan_unistim.c 6 additions, 6 deletionschannels/chan_unistim.c
- include/asterisk/logger.h 9 additions, 0 deletionsinclude/asterisk/logger.h
- main/asterisk.c 25 additions, 20 deletionsmain/asterisk.c
- main/bridge.c 2 additions, 2 deletionsmain/bridge.c
- main/config_options.c 1 addition, 1 deletionmain/config_options.c
- main/loader.c 5 additions, 14 deletionsmain/loader.c
- main/logger.c 40 additions, 19 deletionsmain/logger.c
- main/optional_api.c 0 additions, 10 deletionsmain/optional_api.c
- main/pbx.c 1 addition, 4 deletionsmain/pbx.c
- main/xmldoc.c 1 addition, 1 deletionmain/xmldoc.c
Loading
Please register or sign in to comment