aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
AgeCommit message (Collapse)AuthorFilesLines
2006-11-02read then commit.... better fix for bug 8083 asmogorman1-4/+1
suggested by my peers git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01fix for bug #8083 crash caused by double free on m->msgmogorman1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46838 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07This should fix the problem reported in 7564: logger config file errors ↵murf1-63/+69
getting lost because logging isn't configured yet. The problem was that the code that exists to handle this case was not getting reached, because other tests were causing an early return from ast_log(). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Fix deadlock caused by a race condition in the logger when reloading (issue ↵file1-0/+2
#7195 reported and fixed by softins) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@30033 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-26Bug 5950 - reenable queue log rotation; also, eliminate redundant codetilghman1-97/+81
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-08Make logger report error,warning,notice if logger.confmogorman1-2/+11
not found, also updated chan_oss to give correct error message if its config file is not found. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9232 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17Fixed code ordering of logger_init and queue_log_initmogorman1-4/+4
bug 6263 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8124 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05use thread ID instead of process ID in logger messages (issue #5349)kpfleming1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6726 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26ensure that if the verbose buffer is full, we send it out even if it's not ↵kpfleming1-0/+6
complete (issue #5263, patch modified to actually compile) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6662 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15correct accidental logic reversalkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6616 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14clean up ast_verbose(), don't hold the lock any longer than neededkpfleming1-32/+42
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6606 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-6/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31make DEBUG_THREADS have more visible loggingkpfleming1-9/+8
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: http://svn.digium.com/svn/asterisk/trunk@6464 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22add a LOG_DTMF logging channel and send all bridged DTMF events out that ↵kpfleming1-2/+12
channel (issue #4835) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6358 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15Allow Asterisk to start even when eventlog is turned off (bug #4938)markster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6337 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10more ast_copy_string conversionsrussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05ensure that filesize-triggered reloads don't recurse (bug #4621, with mods)kpfleming1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6031 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-1/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06major Makefile and build process improvements, including removal of all ↵kpfleming1-1/+0
hardcoded paths (modules must now use run-time paths as they should) (bug #4116) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20clarify comments even morekpfleming1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5749 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20add a little comment to keep someone else from having the same ↵kpfleming1-0/+6
misunderstanding I had :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5748 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19Revert improper patch from bug #4294markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5744 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19properly check for debug and verbose messages to suppress (bug #4294)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5726 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14Fix logger check (bug #4260)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5650 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix gethostname calls (bug #4198, with mods)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5600 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-7/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-9/+9
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03fix obvious coding error from yesterday's fixkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5369 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-02don't unnecessarily open-code strchr()kpfleming1-4/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5361 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01strip color code sequences from verbose messages being sent to files/syslog ↵kpfleming1-2/+36
(bug #3929, with mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5354 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01Put syslog facility/level name into filename field, so it will show in ↵kpfleming1-88/+90
'logger show channels' (bug #3916) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5339 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31Make logger respond better to lack of disk space and add "logger show ↵markster1-124/+197
channels" CLI (bug #3909 with minor mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5321 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28No need for sizeof (bug #3887)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5294 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-11Apply queuelog patch and perform final test of "test patches" systemmarkster1-38/+57
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5168 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-11Add timestamping to console (bug #3653 with minor mods)markster1-4/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5163 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Allow debug to be enabled on a per-file basis...markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25Merge config updates (bug #3406)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-27fix logging issuerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4563 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18Fix comment issues (bug #3089)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4479 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-0/+44
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17Fix little logging issuemarkster1-5/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4283 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-16Fix loggermarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4263 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-15Oops for mgcp and logger fix for old linuxmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4246 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-01Use getpid (non-linux) or gettid(linux) for thread identificationmarkster1-4/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4145 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-01Console fix (bug #2764) and logger fix...markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4136 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-24Don't execute log functions for log levels we don't trackmarkster1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4078 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-28Fix verbose logger queue so that list doesnt get touched without ↵citats1-2/+2
msglist_lock being held git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3851 f38db490-d61c-443f-a65b-d21fe96a405b