summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
Commit message (Collapse)AuthorAgeFilesLines
* some cleanupRainer Gerhards2008-04-111-1/+1
|
* cleanup and bugfix in imklogRainer Gerhards2008-04-085-161/+87
| | | | | | | - some cleanup in imklog - bugfix: potential segfault in imklog when kernel is compiled without /proc/kallsyms and the file System.map is missing. Thanks to Andrea Morandi for pointing it out and suggesting a fix.
* bugfix: imklog did not work well with kernel 2.6+.Rainer Gerhards2008-04-083-452/+345
| | | | | | Thanks to Peter Vrabec for patching it based on the development in sysklogd - and thanks to the sysklogd project for upgrading klogd to support the new functionality.
* bugfix: imklog leaked several hundered KB on each HUP. Thanks toRainer Gerhards2008-03-194-0/+17
| | | | varmojfekoj for the patch
* added flow control options to other input sourcesRainer Gerhards2008-03-191-1/+1
|
* some minor things in regard to portabilityRainer Gerhards2008-03-061-4/+10
|
* added capability to ignore client-provided timestamp on unix sockets andRainer Gerhards2008-03-061-1/+1
| | | | | | | | | | | made this mode the default; this was needed, as some programs (e.g. sshd) log with inconsistent timezone information, what messes up the local logs (which by default don't even contain time zone information). This seems to be consistent with what sysklogd did for the past four years. Alternate behaviour may be desirable if gateway-like processes send messages via the local log slot - in this case, it can be enabled via the $InputUnixListenSocketIgnoreMsgTimestamp and $SystemLogSocketIgnoreMsgTimestamp config directives
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+2
|
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-12/+0
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* some cleanupRainer Gerhards2008-02-181-16/+0
|
* - changed interface "printchopped()" so that it looks more like a genericRainer Gerhards2008-02-181-0/+3
| | | | | | | message submission interface. Part of the ongoing modularization effort. - bugfix: invalid kernel log format -- see bug http://bugzilla.adiscon.com/show_bug.cgi?id=1
* changed interface of logmsg() to make it more straightforwardRainer Gerhards2008-02-131-1/+1
|
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-1/+1
| | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version)
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-3/+3
| | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;))
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-1/+0
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* added --enable-mudflap ./configure optionRainer Gerhards2008-01-081-2/+2
|
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-8/+2
| | | | | - defined a property class - implemented deserializer (needs some more work)
* fixed old references to rklogd - thanks to Michael Biebl for spotting them.Rainer Gerhards2008-01-031-2/+2
|
* applied Michael Biebl's patch to clean up the makefilesRainer Gerhards2008-01-031-4/+2
|
* some cleanupRainer Gerhards2007-12-271-1/+1
|
* changed termination sync typeRainer Gerhards2007-12-201-1/+1
|
* - implemented $klogUseSyscallInterface config directiveRainer Gerhards2007-12-201-10/+19
| | | | - implemented $klogSymbolLookup config directive
* - working on a potential race condition on the new input module interface.Rainer Gerhards2007-12-201-3/+5
| | | | | | | | | | See newsgroup posting for details on the issue: http://groups.google.com/group/comp.programming.threads/msg/330b9675f17 a1ad6 I tried some mutex operations but came to the conclusion that this does not really help. So I have now switched to plain thread cancellation, which so far seems to be OK. Need more practical experience with other input modules to make a final decision. Thus I leave all code in and have just disabled the problematic code.
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-2/+2
|
* - implemented afterRun input module interface functionRainer Gerhards2007-12-171-24/+30
| | | | - implemented $klogSymbolsTwice config directive
* code cleanup debugging fixed, should now go through standard debuggingRainer Gerhards2007-12-172-108/+22
| | | | facility
* limited debug outputRainer Gerhards2007-12-173-7/+10
|
* fix for compile problemRainer Gerhards2007-12-174-124/+38
|
* fixed missing fileRainer Gerhards2007-12-171-0/+41
|
* fixed compile problem (error during previous cvs commit)Rainer Gerhards2007-12-172-144/+8
|
* begun imklog, replacing klogd.c (finally we get rid of it...)Rainer Gerhards2007-12-177-0/+2576