summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
Commit message (Collapse)AuthorAgeFilesLines
...
* | completed better modularity of runtimeRainer Gerhards2008-04-171-6/+2
| | | | | | | | | | | | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* | moved host/domain-name related variables to global data poolRainer Gerhards2008-04-171-1/+5
| |
* | Merge branch 'rfc3195'Rainer Gerhards2008-04-161-1/+1
|\ \
| * | more or less finished im3195Rainer Gerhards2008-04-161-1/+1
| |/ | | | | | | | | but need changes in liblogging to complete this work - does not compile yet
* | some more cleanupRainer Gerhards2008-04-163-3/+2
| | | | | | | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* | made everything compile with the new runtime subdirectoryRainer Gerhards2008-04-161-1/+1
|/
* final work for release of v3.17.1v3.17.1Rainer Gerhards2008-04-151-1/+1
|
* fix compiler warning on char/ucharRainer Gerhards2008-04-141-3/+3
|
* cleanup of imklog + addtl. config directivesRainer Gerhards2008-04-146-83/+108
| | | | | | - implemented $KLogInternalMsgFacility config directive - implemented $KLogPermitNonKernelFacility config directive - modified internal interfaces
* provided ability to discard non-kernel messages present in the kernel msg bufferRainer Gerhards2008-04-142-37/+60
| | | | | | | This obviously happens on BSD (<118> markers seen). We now have the ability to allow or prevent it, with the default being not permitted. Should not at all affect other drivers, but it is implemented on a common code basis, not on the driver layer.
* implemented high precision timestamps for the kernel log.Rainer Gerhards2008-04-121-42/+35
| | | | | Thanks to Michael Biebl for pointing out that the kernel log did not have them.
* removed trailing whitespaceRainer Gerhards2008-04-101-1/+1
|
* Add ENABLE_IMKLOG_LINUXMichael Biebl2008-04-101-2/+3
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* Add missing includeMichael Biebl2008-04-101-0/+1
| | | | | | bsd.c uses strchr, strlen and memmove, so include string.h Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* implemented klog driver for BSDRainer Gerhards2008-04-094-51/+68
|
* fixed build system for BSDRainer Gerhards2008-04-091-4/+4
| | | | | | It's a hack, but at least it works now - on BSD. Will check later if it is fine on Linux, too. Any better method of doing things is happily accepted ;)
* updated build system to detect correct klog driverRainer Gerhards2008-04-091-1/+10
|
* pulled FreeBSD's klog functionality as a baseRainer Gerhards2008-04-091-0/+151
|
* changed imklog to a driver interfaceRainer Gerhards2008-04-085-482/+599
| | | | | | imklog now uses os-specific drivers. The initial "set" contains the linux driver. This is a prequisite for BSD klog, which can now be implemented on that driver interface.
* 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