Mark Michelson 
							
						 
					 
					
						
						
							
						
						1b8f183ca3 
					 
					
						
						
							
							This change makes it so that logs will report the correct source of verbose messages.  
						
						 
						
						... 
						
						
						
						Until this change, all verbose messages in Asterisk's log files reported logger.c
as the source of the message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117693  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-05-21 22:34:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						83e37eaf1c 
					 
					
						
						
							
							The logger closes the files it is logging to when reloading so we have to read in the logger configuration even if it has not changed so that the logs get opened again.  
						
						 
						
						... 
						
						
						
						(closes issue #12665 )
Reported by: DennisD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117085  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-05-19 16:03:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						e82b7365b7 
					 
					
						
						
							
							Merged revisions 115333 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r115333 | tilghman | 2008-05-05 17:50:31 -0500 (Mon, 05 May 2008) | 7 lines
Separate verbose output from CLI output, by using a preamble.
(closes issue #12402 )
 Reported by: Corydon76
 Patches: 
       20080410__no_verbose_in_rx_output.diff.txt uploaded by Corydon76 (license 14)
       20080501__no_verbose_in_rx_output__1.4.diff.txt uploaded by Corydon76 (license 14)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115334  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-05-05 23:00:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						123ac5fd64 
					 
					
						
						
							
							Standardized routines for forking processes (keeps all the specialized code in one place).  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114188  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-04-16 22:57:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						ef4eff9a9b 
					 
					
						
						
							
							Add the "config reload <conffile>" command, which allows you to tell Asterisk  
						
						 
						
						... 
						
						
						
						to reload any file that references a given configuration file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111012  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-03-26 18:39:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						760fc3403c 
					 
					
						
						
							
							Make sure values are interpreted as character strings and not format strings.  
						
						 
						
						... 
						
						
						
						(AST-2008-004)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109396  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-03-18 15:13:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						cfc1df4c1a 
					 
					
						
						
							
							Whitespace changes only  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105840  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-03-04 23:04:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						c81350d6f6 
					 
					
						
						
							
							Just some minor coding style cleanup...  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103318  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-02-11 18:27:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mark Michelson 
							
						 
					 
					
						
						
							
						
						fe9821cc10 
					 
					
						
						
							
							Get rid of any remaining ast_verbose calls in the code in favor of  
						
						 
						
						... 
						
						
						
						ast_verb
(closes issue #11934 )
Reported by: mvanbaak
Patches:
      20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102525  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-02-05 23:00:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						8fd1e10d3d 
					 
					
						
						
							
							Normalize the detection for execinfo, so that Linux (glibc) and other platforms  
						
						 
						
						... 
						
						
						
						with libexecinfo will generate inline stack backtraces correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100628  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-01-28 18:27:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mark Michelson 
							
						 
					 
					
						
						
							
						
						00d848c94e 
					 
					
						
						
							
							Adding support for storing the queue log entries in a realtime backend.  
						
						 
						
						... 
						
						
						
						(closes issue #11625 , reported and patched by sergee)
Thank you very much to sergee for adding this new feature!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94782  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-26 15:58:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mark Michelson 
							
						 
					 
					
						
						
							
						
						4f75e15665 
					 
					
						
						
							
							After reading Russell's e-mail to the dev list stating that checking option_verbose is not  
						
						 
						
						... 
						
						
						
						equivalent to the check done by ast_verb, I wrote a macro, VERBOSITY_LEVEL, which does this
check. I did a quick look in the source and used this macro in some places where option_verbose
was used.
I also converted some verbose messages in logger.c to use ast_verb instead of ast_verbose.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93042  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-14 18:47:44 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						99308dfb4e 
					 
					
						
						
							
							Conversions of free to ast_free, where applicable, and several other formatting fixes.  
						
						 
						
						... 
						
						
						
						Reported by: eliel
Patch by: eliel,tilghman
(Closes issue #11209 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92594  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-12 20:05:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Olle Johansson 
							
						 
					 
					
						
						
							
						
						9f1c4887fa 
					 
					
						
						
							
							Doxygen updates  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91385  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-06 14:29:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Olle Johansson 
							
						 
					 
					
						
						
							
						
						9dc965eadd 
					 
					
						
						
							
							Merged revisions 91366 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r91366 | oej | 2007-12-06 13:54:11 +0100 (Tor, 06 Dec 2007) | 4 lines
Make sure logger is reloaded at general reload in the cli.
(Discovered during Asterisk training in Portugal)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91384  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-06 14:23:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						e0ff5fef5c 
					 
					
						
						
							
							remove a bunch of useless #include "options.h"  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89511  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-21 23:09:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						a23c055c3d 
					 
					
						
						
							
							move asterisk/paths.h outside asterisk.h and into those files  
						
						 
						
						... 
						
						
						
						who really need it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89466  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-20 23:16:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						915b97d300 
					 
					
						
						
							
							move internal function declarations to include/asterisk/_private.h  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89465  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-20 22:18:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						9335ace850 
					 
					
						
						
							
							another bunch of include removals (errno.h and asterisk/logger.h)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89425  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-19 19:09:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						0595b5e2aa 
					 
					
						
						
							
							include "logger.h" and errno.h from asterisk.h - usage shows that they  
						
						 
						
						... 
						
						
						
						were included almost everywhere.
Remove some of the instances.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89424  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-19 18:52:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						5490960453 
					 
					
						
						
							
							remove a bunch of duplicate includes  
						
						 
						
						... 
						
						
						
						Reproduce with
grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89348  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-16 23:54:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						fdb7f7ba3d 
					 
					
						
						
							
							Start untangling header inclusion in a way that does not affect  
						
						 
						
						... 
						
						
						
						build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better. 
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-16 20:04:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						7f8ecd2cd3 
					 
					
						
						
							
							make the 'name' and 'value' fields in ast_variable const char *  
						
						 
						
						... 
						
						
						
						This prevents modifying the strings in the stored variables, 
and catched a few instances where this was actually done.
Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are
chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049
I may have missed some instances for modules that do not build here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89268  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-14 13:18:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						edc78d6023 
					 
					
						
						
							
							improve linked-list macros in two ways:  
						
						 
						
						... 
						
						
						
						- the *_CURRENT macros no longer need the list head pointer argument
  - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89106  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-08 05:28:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Murphy 
							
						 
					 
					
						
						
							
						
						63f2f04cf4 
					 
					
						
						
							
							This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88166  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-01 22:26:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jason Parker 
							
						 
					 
					
						
						
							
						
						ebe4050128 
					 
					
						
						
							
							Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-10-22 20:05:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jason Parker 
							
						 
					 
					
						
						
							
						
						b0f3e6097e 
					 
					
						
						
							
							Convert NEW_CLI to AST_CLI.  
						
						 
						
						... 
						
						
						
						Closes issue #11039 , as suggested by seanbright.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-10-19 18:29:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						d19257304e 
					 
					
						
						
							
							Process outstanding log messages before shutting down the logger thread.  
						
						 
						
						... 
						
						
						
						(closes issue #10933 )
Reported by: sperreault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85234  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-10-10 13:46:57 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jason Parker 
							
						 
					 
					
						
						
							
						
						c7a9ec1691 
					 
					
						
						
							
							(issue  #10724 )  
						
						 
						
						... 
						
						
						
						Reported by: eliel
Patches:
      res_features.c.patch uploaded by eliel (license 64)
      res_agi.c.patch uploaded by seanbright (license 71)
      res_musiconhold.c.patch uploaded by seanbright (license 71)
      pbx.c.patch uploaded by moy (license 222)
      logger.c.patch uploaded by moy (license 222)
      frame.c.patch uploaded by moy (license 222)
      manager.c.patch uploaded by moy (license 222)
      http.c.patch uploaded by moy (license 222)
      dnsmgr.c.patch uploaded by moy (license 222)
      res_realtime.c.patch uploaded by eliel (license 64)
      res_odbc.c.patch uploaded by seanbright (license 71)
      res_jabber.c.patch uploaded by eliel (license 64)
      chan_local.c.patch uploaded by eliel (license 64)
      chan_agent.c.patch uploaded by eliel (license 64)
      chan_alsa.c.patch uploaded by eliel (license 64)
      chan_features.c.patch uploaded by eliel (license 64)
      chan_sip.c.patch uploaded by eliel (license 64)
      RollUp.1.patch (includes all of the above patches) uploaded by seanbright (license 71)
Convert many CLI commands to the NEW_CLI format.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82930  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-09-18 22:43:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						43adcde7bf 
					 
					
						
						
							
							Always force reread of the config when we're rotating the log file (closes issue  #10598 )  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81387  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-08-30 17:51:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						f4fa5a228a 
					 
					
						
						
							
							Add some read/write locking magic to make logger reload operate again.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81290  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-08-28 21:35:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						f5a14167f3 
					 
					
						
						
							
							Support better rotation of log files to be more like system logging (closes issue  #10398 )  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81277  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-08-28 20:03:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						56b9568164 
					 
					
						
						
							
							Don't reload a configuration file if nothing has changed.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-08-16 21:09:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mark Michelson 
							
						 
					 
					
						
						
							
						
						57d5d489a7 
					 
					
						
						
							
							Merged revisions 77380 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r77380 | mmichelson | 2007-07-26 15:35:17 -0500 (Thu, 26 Jul 2007) | 7 lines
Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never defined so the majority of ast_backtrace never
attempted compilation. The makefile now defines AST_DEVMODE if configure was run with --enable-dev-mode. Also, changes were 
made to acccomodate 64 bit systems in ast_backtrace.
Thanks to qwell, kpfleming, and Corydon76 for their roles in allowing me to get this committed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77381  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-26 20:39:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						03c973ab2d 
					 
					
						
						
							
							Merged revisions 77350 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r77350 | tilghman | 2007-07-26 14:32:17 -0500 (Thu, 26 Jul 2007) | 2 lines
Missed one
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77351  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-26 19:33:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						620a5a11e4 
					 
					
						
						
							
							Merged revisions 77348 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r77348 | tilghman | 2007-07-26 14:27:18 -0500 (Thu, 26 Jul 2007) | 2 lines
Oops, that builtin define should be all-lowercase.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77349  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-26 19:29:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						f1f72312bb 
					 
					
						
						
							
							(closes issue  #10192 )  
						
						 
						
						... 
						
						
						
						Reported by: bbryant
Patches:
      20070720__core_debug_by_file.patch uploaded by bbryant (license 36)
	  (with some modifications by me)
Tested by: russell, bbryant
This set of changes introduces the ability to set the core debug or verbose
levels on a per-file basis.  Interestingly enough, in 1.4, you have the ability
to set core debug for a single file, but that functionality was accidentally
lost in the conversion of the CLI commands to the new format.
This patch improves upon what was in 1.4 by letting you set it for more than 1
file, and by also supporting verbose.
*** Janitor Project ***
This patch also introduces a new macro, ast_verb(), which is similar
to ast_debug().  Setting the per file verbose value only works for messages that
use this macro.  Converting existing uses of ast_verbose() can be done like:
if (option_debug > 2)
   ast_verbose(VERBOSE_PREFIX_3 "Something useful\n");
...
ast_verb(3, "Something useful\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76555  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-23 14:21:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						4af3f12b29 
					 
					
						
						
							
							Reduce some logging contention by switching several locks over to rwlocks  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76015  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-20 01:54:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						81bc1d7af5 
					 
					
						
						
							
							Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-18 19:47:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						2c52ab7afb 
					 
					
						
						
							
							Fix -T option. (issue  #10073  reported by xylome)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72233  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-27 19:57:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						80166c6de8 
					 
					
						
						
							
							Conversions to ast_debug()  
						
						 
						
						... 
						
						
						
						(issue #9984 , patches from eliel and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71338  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-24 18:51:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						a1bc823136 
					 
					
						
						
							
							Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71040  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-22 04:35:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						5fdba27ea2 
					 
					
						
						
							
							Merged revisions 69392 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines
use ast_localtime() in every place localtime_r() was being used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-14 22:09:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						6fc5c73f78 
					 
					
						
						
							
							Output verbose messages to the normal logger as well. (issue  #9476  reported by gdalgliesh)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61522  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-04-11 17:07:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						058ec10e42 
					 
					
						
						
							
							Merged revisions 59078 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r59078 | tilghman | 2007-03-20 16:04:52 -0500 (Tue, 20 Mar 2007) | 2 lines
Fix defines for inline stack backtraces (only used by developers anyway)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59079  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-03-20 21:06:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						746e139e6d 
					 
					
						
						
							
							Flush out the file pointer. (issue  #9115  reported by guthrie)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55716  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-02-20 23:26:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						21b53af31d 
					 
					
						
						
							
							Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue  #8679  reported by johann8384)  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-01-23 00:11:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						adca0ff14b 
					 
					
						
						
							
							Merged revisions 49006 via svnmerge from  
						
						 
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines
since these variables all have static duration, none of them need initializers (they default to zero anyway)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49008  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-12-27 22:14:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						8e9cdb10fd 
					 
					
						
						
							
							Merge non-blocking logger from my branch. This should improve things under heavy load with lots of CLI/logging output.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48817  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-12-21 21:57:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						684e4dc373 
					 
					
						
						
							
							debugging shows that we always need more than 128 bytes  
						
						 
						
						... 
						
						
						
						for the verbose and logging messages so start with a
larger buffer from the beginning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48558  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-12-18 15:36:31 +00:00