aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10Ensure restartable system calls can restart (BSD signal semantics)tilghman1-0/+1
This eliminates the annoying <beep> on the console. (closes issue #17477) Reported by: jvandal Patches: 20100610__issue17477.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@269635 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Get rid of a warning that gets printed out when the console is configured ↵russell1-1/+4
without any logger levels git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@268203 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Use sigaction for signals which should persist past the initial trigger, not ↵tilghman1-4/+7
signal. If you call signal() in a Solaris signal handler, instead of just resetting the signal handler, it causes the signal to refire, because the signal is not marked as handled prior to the signal handler being called. This effectively causes Solaris to immediately exceed the threadstack in recursive signal handlers and crash. (closes issue #17000) Reported by: rmcgilvr Patches: 20100526__issue17000.diff.txt uploaded by tilghman (license 14) Tested by: rmcgilvr git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@266142 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-24Remove color code sequences from verbose messages that go to logfiles.tilghman1-1/+1
(closes issue #16786) Reported by: dodo Patches: logger2.patch uploaded by dodo (license 989) Tested by: tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@248582 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-08Make absolute paths for logger channels work properlykpfleming1-11/+5
(Note: This is not a new feature, it was previously undocumented and broken.) The Asterisk logger has a feature to support absolute pathnames for logger channels, but the code implementing the feature was broken. This has been fixed, and the absolute path feature is now documented in the sample logger.conf. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@193193 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29update dev-mode compiler flags to match the ones used by default on Ubuntu ↵kpfleming1-1/+1
Intrepid, so all developers will see the same warnings and errors since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them format attributes in a consistent way git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@159808 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Separate verbose output from CLI output, by using a preamble.tilghman1-2/+6
(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: http://svn.digium.com/svn/asterisk/branches/1.4@115333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-06Make sure logger is reloaded at general reload in the cli.oej1-6/+14
(Discovered during Asterisk training in Portugal) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@91366 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never ↵mmichelson1-0/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@77380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Missed onetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Oops, that builtin define should be all-lowercase.tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77348 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14use ast_localtime() in every place localtime_r() was being usedkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-20Fix defines for inline stack backtraces (only used by developers anyway)tilghman1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27since these variables all have static duration, none of them need ↵kpfleming1-3/+3
initializers (they default to zero anyway) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-11woohoo safe out put!mogorman1-2/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Reverse change of "show" to "list" and make several other commands more ↵tilghman1-8/+3
consistent with "category verb arguments" git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47051 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20Constify the result of a config retrieval function, to avoid mutilation ↵tilghman1-1/+1
(issue 7983). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming1-13/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.murf1-70/+76
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42208 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+914
- 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b