Commit Graph

111 Commits (cc0b7e7df540e5833c79c9b12ef880f03a74b922)

Author SHA1 Message Date
Tilghman Lesher b98e47d119 Merged revisions 298960 via svnmerge from
15 years ago
Jeff Peeler 78bd0de1a9 Add support for several platforms to obtain the real thread ID.
15 years ago
Russell Bryant c0ddaa38d1 Merged revisions 287863 via svnmerge from
15 years ago
Brett Bryant 2b1b1c9693 Merged revisions 287639 via svnmerge from
15 years ago
Tilghman Lesher 046a2dc3b1 Merged revisions 279390 via svnmerge from
15 years ago
Tilghman Lesher 82448ad7d2 Separate queue_log arguments into separate fields, and allow the text file to be used, even when realtime is used.
15 years ago
Tilghman Lesher c7293780b8 Remove lines from the output related to the backtrace itself.
15 years ago
Kevin P. Fleming 33ba94eb0b Ensure that 'logger show channels' works properly when wildcards are used in logger.conf.
15 years ago
Tilghman Lesher 5d313f51b9 Merged revisions 269635 via svnmerge from
15 years ago
Tilghman Lesher fb80119b87 Merged revisions 266142 via svnmerge from
15 years ago
Kevin P. Fleming 2aa0c11679 Correct 'all logger levels' patch to work properly.
15 years ago
Kevin P. Fleming e77efbc12e Add ability for logger channels to include *all* levels.
15 years ago
Leif Madsen d2e1f421fa CLI command logger set level auto complete.
15 years ago
Tilghman Lesher 4e1e6820db Merged revisions 248582 via svnmerge from
15 years ago
Tilghman Lesher ba10edfcac Initialize a variable that we check immediately upon startup.
16 years ago
Sean Bright 0c99f79a76 Correct the return value check for ast_safe_system.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Sean Bright 4535305772 Move syslog utility functions into a separate file so they can be re-used.
16 years ago
Sean Bright ca3a181c33 Pass a logmsg to ast_log_vsyslog instead of separate arguments.
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Joshua Colp ea89db8ce0 Fix an incorrect call to ast_string_field_free_memory which caused a crash in the logger.
16 years ago
Kevin P. Fleming d1e0b11343 Add ability for modules to dynamically register logger levels
16 years ago
Tilghman Lesher c524f905a6 Two fixes found while debugging with ast_backtrace():
16 years ago
Kevin P. Fleming 7893ab8fe7 Merged revisions 193193 via svnmerge from
16 years ago
Kevin P. Fleming a3af213506 Remove rarely-used event_log/LOG_EVENT support
16 years ago
Kevin P. Fleming b8b4d01b06 Fix an error in queue_log file rotation optimization code
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Kevin P. Fleming 2f048030bd revert addition of LOG_SECURITY log channel; after further discussion, a much better solution will be used
16 years ago
Kevin P. Fleming b5f8c632df add a dedicated log channel for modules to be able report security-related events, so that they can be fed into external processes for analysis and possible mitigation efforts
16 years ago
Mark Michelson e32921415f Assist proper thread synchronization when stopping the logger thread.
16 years ago
Matthew Nicholson 23755124ba Added a comment to logger.c about where to put includes
17 years ago
Matthew Nicholson f42c44449a Use ast_safe_system() in logger.c instead of system()
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Tilghman Lesher afb571ba8f Starting with a change to ensure that ast_verbose() preserves ABI compatibility
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Sean Bright 790fde68d9 Another batch of files from RSW. The remaining apps and a few more
17 years ago
Kevin P. Fleming fd845ffb5e minor change to test automerge
17 years ago
Mark Michelson 115937b7a6 Print the correct PID in log messages. Prior to
17 years ago
Tilghman Lesher e9bd35a0fe Fix rotate strategy
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Luigi Rizzo e2807b69a3 use %p to print a pointer
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Russell Bryant 8b0ea3a76d Do a deep copy of file and function strings to avoid a potential crash when
17 years ago
Brett Bryant 5b8e1963c5 Adds support for changing logger settingss on remote consoles with a
17 years ago
Mark Michelson 975a848b67 A new feature thanks to the fine folks at Switchvox!
17 years ago
Mark Michelson 1b8f183ca3 This change makes it so that logs will report the correct source of verbose messages.
17 years ago
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.
17 years ago