-
- Downloads
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
Showing
- CHANGES 11 additions, 0 deletionsCHANGES
- Makefile.moddir_rules 8 additions, 2 deletionsMakefile.moddir_rules
- channels/Makefile 5 additions, 0 deletionschannels/Makefile
- codecs/Makefile 1 addition, 0 deletionscodecs/Makefile
- include/asterisk/logger.h 7 additions, 7 deletionsinclude/asterisk/logger.h
- include/asterisk/options.h 8 additions, 8 deletionsinclude/asterisk/options.h
- main/Makefile 2 additions, 0 deletionsmain/Makefile
- main/cli.c 69 additions, 65 deletionsmain/cli.c
- pbx/Makefile 1 addition, 0 deletionspbx/Makefile
- res/Makefile 3 additions, 2 deletionsres/Makefile
Please register or sign in to comment