From ae6008ef3acdb582aca60357f7a7870aabba78a1 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 23 Mar 2010 14:22:27 +0000 Subject: Change per-file debug and verbose levels to be per-module, the way users expect them to work. 'core set debug' and 'core set verbose' can optionally change the level for a specific filename; however, this is actually for a specific source file name, not the module that source file is included in. With examples like chan_sip, chan_iax2, chan_misdn and others consisting of multiple source files, this will not lead to the behavior that users expect. If they want to set the debug level for chan_sip, they want it set for all of chan_sip, and not to have to also set it for reqresp_parser and other files that comprise the chan_sip module. This patch changes this functionality to be module-name based instead of file-name based. To make this work, some Makefile modifications were required to ensure that the AST_MODULE definition is present in each object file produced for each module as well. Review: https://reviewboard.asterisk.org/r/574/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253917 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index df47a323a..12e3614d4 100644 --- a/CHANGES +++ b/CHANGES @@ -426,6 +426,17 @@ Miscellaneous * chan_dahdi now supports reporting alarms over AMI either by channel or span via the reportalarms config option. +CLI Changes +----------- + * The 'core set debug' and 'core set verbose' commands, in previous versions, could + optionally accept a filename, to apply the setting only to the code generated from + that source file when Asterisk was built. However, there are some modules in Asterisk + that are composed of multiple source files, so this did not result in the behavior + that users expected. In this version, 'core set debug' and 'core set verbose' + can optionally accept *module* names instead (with or without the .so extension), + which applies the setting to the entire module specified, regardless of which source + files it was built from. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2 ------------- ------------------------------------------------------------------------------ -- cgit v1.2.3