summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-071-23/+1
|\ | | | | | | | | | | Conflicts: configure.ac doc/manual.html
| * unified use of $LocalHostIPIF among all locally-emitting inputsRainer Gerhards2012-03-221-23/+1
| | | | | | | | | | with the exception of imdiag, which I humbly do not think needs this capabilit (even counter-productive for testbench use).
* | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-03-121-1/+26
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/imuxsock.html doc/manual.html runtime/queue.c
| * added capability to use a local interface IP address as fromhost-ip for imklogRainer Gerhards2012-03-101-1/+26
| |
* | Merge branch 'v5-stable' into v5-develRainer Gerhards2012-03-012-31/+29
|\| | | | | | | | | | | | | Conflicts: ChangeLog plugins/imklog/imklog.c plugins/imklog/imklog.h
| * bugfix: imklog invalidly computed facility and severityRainer Gerhards2012-03-011-2/+2
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-272-31/+29
| |\
| | * licensing changeRainer Gerhards2012-01-212-31/+29
| | |
| | * Merge branch 'v4-stable' into v4-develRainer Gerhards2010-12-161-3/+1
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/parser.c
| | * \ Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-191-3/+3
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/cfsysline.c tools/ompipe.c
* | | | | bugfix: imklog invalidly computed facility and severityRainer Gerhards2012-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313
* | | | | imklog: forgot to remove one file; now doneRainer Gerhards2012-01-231-35/+0
| | | | |
* | | | | refactored imklog linux driver, now combined with BSD driverRainer Gerhards2012-01-237-2063/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux driver no longer supports outdated kernel symbol resolution, which was disabled by default for very long. Also overall cleanup, resulting in much smaller code. Linux and BSD are now covered by a single small driver.
* | | | | preparing for 5.9.1 releasev5.9.1Rainer Gerhards2011-06-301-3/+0
| | | | |
* | | | | added support for obtaining timestamp for kernel message from messageRainer Gerhards2011-06-245-99/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the kernel time-stamps messages, time is now take from that timestamp instead of the system time when the message was read. This provides much better accuracy. Thanks to Lennart Poettering for suggesting this feature and his help during implementation.
* | | | | experimental: support for systemd-induced second PRI in klogRainer Gerhards2011-03-181-4/+20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if systemd writes a kernel log entry with a non-kernel priority, the priority recorded in the kernel log will be wrong. However, it will be immediately followed by another priority (with the kernel timestamp in between, if enabled). So imklog now tries to see if there is a second PRI and, if so, uses it. Note that we already support non-kernel PRIs in the kernel log, as this was done in BSD for quite some while. HOWEVER the config statement "$klogpermitnonkernelfacility on" must be used to permit this (otherwise non kernel messages are dropped). Sample of a such a message on a kernel without timestamping enabled: $ echo '<14>text' > /dev/kmsg $ dmesg -r <4><14>text NOTE: support for timestamp is NOT YET ENABLED!
* | | | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-161-3/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.c
| * | | some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-161-3/+1
| | |/ | |/|
* | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-191-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac runtime/cfsysline.c tools/ompipe.c
| * | fixing some compile problems on FreeBSDRainer Gerhards2010-10-191-3/+3
| | |
* | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-194-53/+23
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html runtime/debug.c runtime/rsyslog.h tests/Makefile.am tests/diag.sh tests/nettester.c tools/syslogd.c
| * | first version of imsolaris created, cleanup for solaris doneRainer Gerhards2010-04-151-4/+0
| | | | | | | | | | | | more cleanup required, but things now basically work
| * | some cleanup of solaris imklogRainer Gerhards2010-04-123-49/+23
| | |
* | | Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-094-0/+509
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| * | git "bugfix": added file previously forgottenRainer Gerhards2010-04-011-0/+1
| | |
| * | cleanup in solaris components for imklogRainer Gerhards2010-03-262-98/+8
| | |
| * | added initial files for door support & fixed imklogRainer Gerhards2010-03-262-48/+20
| | | | | | | | | | | | imklog now basically works, but needs quite some more work to do
| * | interim commit: imklog/solaris compiles, but does not workRainer Gerhards2010-03-263-604/+389
| | | | | | | | | | | | | | | saving this area of work, because some further clarification is needed. Do not try to run the current imklog, it will fail.
| * | added forgotten fileRainer Gerhards2010-03-251-0/+545
| | |
| * | added some starting point for a solaris imklog driverRainer Gerhards2010-03-252-0/+296
| |/ | | | | | | ... far from being functional at this time!
* | enhanced test environment (including testbench)Rainer Gerhards2009-10-223-3/+6
| | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-131-1/+0
|/
* added $klogConsoleLogLevel directiveRainer Gerhards2009-07-032-9/+7
| | | | ...which permits to set a new console log level while rsyslog is active
* now put the new property-based methods to good useRainer Gerhards2009-07-011-4/+6
| | | | | | ... hopefully reducing the number of allocs/frees as well as overall memory usage in a busy system (plus that these shared properties hopefully remain in cache longer than its single-instance counterparts...)
* RcvFromIP now also a propertyRainer Gerhards2009-07-011-1/+1
| | | | | | This sets stage to enable use of the property-interface to speed up things (mildly), the next step to be done. I have also fixed one regression of yesterday's changes.
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-1/+1
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* finished transition to using inputName propertyRainer Gerhards2009-06-301-2/+17
| | | | | ... plus some celanup and adding minor missing functionality (the rule debug info again tell the property name, not just number).
* introduced the idea of detached propertiesRainer Gerhards2009-06-292-4/+5
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* add support for KLogPathMichael Terry2009-06-294-5/+25
|
* optimized hostname processingRainer Gerhards2009-06-231-1/+1
|
* optimized handling of MSG part in msg objectRainer Gerhards2009-06-181-1/+1
| | | | | WARNING: currently, message repeation processing is disabled, must be reenabled (but prefer to do some other tests first)
* optimized TAG handling in msg objectRainer Gerhards2009-06-181-1/+1
|
* cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-181-1/+1
|
* removed long-obsoleted property UxTradMsgRainer Gerhards2009-06-161-2/+0
| | | | | ... as well as some cleanup (some commented-out code is left to support UxTradMsg again is someone really complains ;)).
* some performance optimizationsRainer Gerhards2009-06-161-1/+1
| | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-3/+4
| | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* update project status & cleanupRainer Gerhards2009-04-172-22/+24
| | | | | | removed some warning in imklog compilation, but may not have solved a lurking issue (but placed comment so that we know if something surfaces)
* added O_CLOEXEC to open() callsRainer Gerhards2009-04-021-1/+1
| | | | | | | | to make sure only the minimum number of file handles is left open during a exec call. This is not a 100% solution, as there are also some fopen() calls and, more importantly, file descriptors opened by libraries. But it is better than nothing (and it was quick, at least until we run into platform hell, what we will for sure ;)).
* make all cflags and libs variables uppercaseMichael Biebl2009-02-241-1/+1
| | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.