Kevin P. Fleming
9614adc056
make DEBUG_THREADS have more visible logging
...
make DEBUG_THREADS able to catch locks being unlocked by threads that did not own them
add proper wrappers for pthread_cond_wait() and pthread_cond_timedwait() for DEBUG_THREADS mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 02:43:44 +00:00
Kevin P. Fleming
dffade452c
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 21:19:59 +00:00
Mark Spencer
b353b1d6fb
Allow Asterisk to start even when eventlog is turned off (bug #4938 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-15 19:35:25 +00:00
Russell Bryant
edbc500b77
more ast_copy_string conversions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 22:56:21 +00:00
Kevin P. Fleming
750e8abd46
ensure that filesize-triggered reloads don't recurse (bug #4621 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 20:31:34 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
dd0c01fc2f
clarify comments even more
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20 13:58:39 +00:00
Kevin P. Fleming
e65df4cc67
add a little comment to keep someone else from having the same misunderstanding I had :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20 03:52:27 +00:00
Mark Spencer
ebd2196ab7
Revert improper patch from bug #4294
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 20:33:55 +00:00
Kevin P. Fleming
3e7675e728
properly check for debug and verbose messages to suppress (bug #4294 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 02:54:23 +00:00
Mark Spencer
251e6bc2ed
Fix logger check (bug #4260 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:28:47 +00:00
Mark Spencer
00bcbaaa05
Fix gethostname calls (bug #4198 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Kevin P. Fleming
199add9567
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
6ae8903fd8
fix obvious coding error from yesterday's fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:25:45 +00:00
Kevin P. Fleming
71f2c0c6ec
don't unnecessarily open-code strchr()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-02 23:20:11 +00:00
Kevin P. Fleming
4f0e5637a9
strip color code sequences from verbose messages being sent to files/syslog (bug #3929 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 23:49:57 +00:00
Kevin P. Fleming
2059316463
Put syslog facility/level name into filename field, so it will show in 'logger show channels' (bug #3916 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 16:09:21 +00:00
Mark Spencer
642059b2e4
Make logger respond better to lack of disk space and add "logger show channels" CLI (bug #3909 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 19:08:51 +00:00
Mark Spencer
bf940e8928
No need for sizeof (bug #3887 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:57:59 +00:00
Mark Spencer
dbd42a645f
Apply queuelog patch and perform final test of "test patches" system
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-11 08:49:01 +00:00
Mark Spencer
26c7a07735
Add timestamping to console (bug #3653 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-11 07:24:10 +00:00
Mark Spencer
c6cb8f9239
Allow debug to be enabled on a per-file basis...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 04:04:55 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
6cd0d316e2
fix logging issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-27 22:41:58 +00:00
Mark Spencer
b3a0ef24ed
Fix comment issues (bug #3089 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-18 22:04:07 +00:00
Mark Spencer
9d40b8ee80
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14 23:36:30 +00:00
Mark Spencer
ef74e24331
Fix little logging issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-17 19:27:47 +00:00
Mark Spencer
e6a9e6f90c
Fix logger
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-16 13:52:35 +00:00
Mark Spencer
419e5113e6
Oops for mgcp and logger fix for old linux
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-15 00:35:49 +00:00
Mark Spencer
fa161c49f1
Use getpid (non-linux) or gettid(linux) for thread identification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 16:26:32 +00:00
Mark Spencer
2b6344872f
Console fix (bug #2764 ) and logger fix...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 01:48:35 +00:00
Mark Spencer
e14ae8b10b
Don't execute log functions for log levels we don't track
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 06:12:21 +00:00
James Golovich
01e406626e
Fix verbose logger queue so that list doesnt get touched without msglist_lock being held
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-28 21:13:50 +00:00
Mark Spencer
b0970b9e33
Merge Brian West's append hostname patch (bug #2372 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-05 03:48:05 +00:00
Mark Spencer
c87d1f6309
Fix logger issue at hangup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-20 15:10:18 +00:00
Mark Spencer
8ed49644a6
Remaining rgagnon source audit improvements (bug #2011 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 07:44:19 +00:00
James Golovich
3d0e3d3c0f
More formatting cleanups.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 04:42:19 +00:00
James Golovich
8801247d76
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
702b8a96b0
Close logging stuff so system doesn't have to (bug #1855 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-17 01:13:10 +00:00
Mark Spencer
d0e532a070
Eliminate duplicate init_logger_chain call (bug #1853 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-15 18:44:14 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer
76a22457ce
Add date formatting capability for logger (bug #1665 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-18 05:47:27 +00:00
James Golovich
bb8d1dbb3a
Use ast_strlen_zero in logger.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-06 20:23:48 +00:00
James Golovich
12bcd39583
Typo in logger.c (bug 1466)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 02:57:10 +00:00
Mark Spencer
7ed519ba84
Use fputs where it makes sense instead of fprintf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-13 04:45:51 +00:00
Mark Spencer
c512310934
Don't allow the format to be doubly handled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-13 04:27:06 +00:00
Mark Spencer
722babe8d1
Indicate the need to reload without actually reloading...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-30 16:16:05 +00:00