Summary: | ASTERISK-06349: [patch] Disable log / verbose output to remote consoles | ||
Reporter: | Edwin Groothuis (mavetju) | Labels: | |
Date Opened: | 2006-02-17 06:09:17.000-0600 | Date Closed: | 2008-01-15 17:21:49.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) bug6524.patch ( 1) mute-console.txt | |
Description: | When trying to understand calling problems, I often have verbosity set to 3. Lots of information, but on our system also a lot of scrolling. Opening a second remote console will inherit the verbosity. This patch allows a remote console to be muted, i.e. no debug and no verbose logging. Changed files: include/asterisk/logger.h asterisk.c cli.c logger.c This should be able to be applied to HEAD (if such a thing exists in SVN) without problems. If not I'll submit a seperate patch for that. | ||
Comments: | By: Edwin Groothuis (mavetju) 2006-02-17 06:10:47.000-0600 "Opening a second remote console will inherit the verbosity." should be "Opening a second remote console will inherit the verbosity, and is thus unusable for independent data gathering." By: Edwin Groothuis (mavetju) 2006-02-18 00:27:18.000-0600 mute-console.txt is the patch file for 1.2 patch-mute-HEAD is the patch for svn HEAD. By: Edwin Groothuis (mavetju) 2006-03-01 15:36:51.000-0600 attached is a one line extra patch which disables muting when a new console is requested (situation happens when you mute a console, logoff and connect to it again) By: Olle Johansson (oej) 2006-03-09 11:45:30.000-0600 Some very tiny changes proposed in uploaded patch. Included in test-this-branch. Cool stuff. By: Olle Johansson (oej) 2006-03-09 11:47:01.000-0600 Would be cool to have a command line option for this, so you can mute the console at start. By: Olle Johansson (oej) 2006-03-09 11:48:21.000-0600 A command line option is important for asterisk -rx in situations when you have debug and verbose set to 4. Even with asterisk -rx something, you may get a few lines of logging, which is really annoying. By: Tilghman Lesher (tilghman) 2006-03-09 12:15:31.000-0600 "mute" is a bad way to put this, especially since we have a console channel driver. "suppress" might be a better term to use, since we're suppressing verbosity. By: Olle Johansson (oej) 2006-03-09 12:39:45.000-0600 "logger mute" is better than "set mute". All console channels have no prefix, so I don't see that "set mute" or "logger mute" will conflict with a console channel. By: Olle Johansson (oej) 2006-03-14 01:35:56.000-0600 mavetju? Feedback? ...or are you occupied coding and working with your dialplan :-) By: Edwin Groothuis (mavetju) 2006-04-01 04:50:55.000-0600 New patch (patch-logger_mute.txt) has - "logger mute" instead of "set mute" - "-m" for commandline equivalence - Added changes from patch-mute-HEAD-oej.txt Please delete patch-mute-HEAD and patch-mute2.txt. By: Serge Vecher (serge-v) 2006-05-04 09:23:40 mavetju: please fix up the formatting (use tabs instead of spaces for indentation). By: Tilghman Lesher (tilghman) 2006-05-20 10:55:39 mavetju's patch updated with the necessary formatting fixes. By: Joshua C. Colp (jcolp) 2006-05-26 14:48:58 In trunk as of revision 30603. Thanks all! By: Digium Subversion (svnbot) 2008-01-15 17:21:49.000-0600 Repository: asterisk Revision: 12480 U team/oej/test-this-branch/README.test-this-branch U team/oej/test-this-branch/asterisk.c U team/oej/test-this-branch/cli.c U team/oej/test-this-branch/include/asterisk/logger.h U team/oej/test-this-branch/logger.c ------------------------------------------------------------------------ r12480 | oej | 2008-01-15 17:21:48 -0600 (Tue, 15 Jan 2008) | 2 lines Issue ASTERISK-6349 - Mute logging in remote Asterisk console with "set mute" command. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=12480 |