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 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						055abfe9d9 
					 
					
						
						
							
							simplify the ast_dynamic_str_*.... routines by  
						
						... 
						
						
						
						renaming them to ast_str ... and putting the
struct ast_threadstorage pointer into the struct ast_str.
This makes the code a lot more readable.
At this point we can use these routines also to
replace ast_build_string().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48510  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-12-15 23:10:42 +00:00 
						 
				 
			
				
					
						
							
							
								Matt O'Gorman 
							
						 
					 
					
						
						
							
						
						b025702287 
					 
					
						
						
							
							safe terminal output is sweet.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47491  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-11-11 02:12:27 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						ce68e30a07 
					 
					
						
						
							
							remove many unnecessary casts  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47186  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-11-04 01:34:59 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						10875731ec 
					 
					
						
						
							
							Merged revisions 47051 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2006-11-02 23:16:09 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						bd53e7ee4c 
					 
					
						
						
							
							Extend the thread storage API such that a custom initialization function can  
						
						... 
						
						
						
						be called for each thread specific object after they are allocated.  Note that
there was already the ability to define a custom cleanup function.  Also, if
the custom cleanup function is used, it *MUST* call free on the thread
specific object at the end.  There is no way to have this magically done that
I can think of because the cleanup function registered with the pthread
implementation will only call the function back with a pointer to the
thread specific object, not the parent ast_threadstorage object.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45623  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-10-19 01:00:57 +00:00 
						 
				 
			
				
					
						
							
							
								Matt O'Gorman 
							
						 
					 
					
						
						
							
						
						ae8cc3e18b 
					 
					
						
						
							
							bug  #8076  check option_debug before printing to debug channel.  
						
						... 
						
						
						
						patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-10-03 15:53:07 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						e5203bb283 
					 
					
						
						
							
							Add option to logger to rename log files with timestamp (issue  #8020  reported by jmls)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44172  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-10-02 17:54:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						fe1a3b8877 
					 
					
						
						
							
							Add optional queue_log_name config option for logger.conf, to change the  
						
						... 
						
						
						
						name of the queue_log file.
Issue #7363 , patch by Steve Davies, slightly modified by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43666  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-26 17:09:01 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						2b55678e1f 
					 
					
						
						
							
							Remove deprecated CLI apps from the core  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43449  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-21 21:17:39 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						70af28270d 
					 
					
						
						
							
							Constify the result of a config retrieval function, to avoid mutilation (issue 7983).  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-20 20:40:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						fcb999c01c 
					 
					
						
						
							
							merge qwell's CLI verbification work  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-18 19:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								Steve Murphy 
							
						 
					 
					
						
						
							
						
						11a7e38930 
					 
					
						
						
							
							Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42208  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-07 03:35:42 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						0a27d8bfe5 
					 
					
						
						
							
							merge new_loader_completion branch, including (at least):  
						
						... 
						
						
						
						- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 02:11:39 +00:00