summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bugfix: imklog did not compile on freeBSDRainer Gerhards2008-11-243-3/+15
|
* consolidated time calls during msg object creationRainer Gerhards2008-10-021-1/+0
| | | | | | ...this improves performance and consistency and also fixes a bug where subsecond time properties generated by imfile, imklog and internal messages could be slightly inconsistent.
* added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-0/+2
| | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
* removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-8/+29
| | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* Merge branch 'v3-stable' into betaRainer Gerhards2008-07-251-1/+1
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * Update man pages, fix a small typoMichael Biebl2008-07-211-1/+1
| | | | | | | | | | | | | | - Update the version number and date in the man pages - s/imklogd/imklog/ Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-0/+1
|\| | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
| * bugfix: remove PRI part from kernel message if it is presentRainer Gerhards2008-07-181-0/+1
| |
* | Merge branch 'beta'Rainer Gerhards2008-06-122-3/+2
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imklog/linux.c
| * changed default for i$KlogSymbolLookup to "off"Rainer Gerhards2008-06-122-3/+2
| |
* | Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-111-6/+0
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'beta'Rainer Gerhards2008-05-211-1/+1
|\| | | | | | | | | | | Conflicts: ChangeLog
| * bugfix: imklog went into an endless loop if a PRI value was insideRainer Gerhards2008-05-211-1/+1
| | | | | | | | | | | | a kernel log message This is an unusual case under Linux, and a frequent one under BSD
* | added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* | Merge branch 'beta'Rainer Gerhards2008-05-023-5/+3
|\| | | | | | | | | | | | | | | | | | | Conflicts: plugins/imklog/linux.c runtime/cfsysline.c runtime/ctok.c runtime/linkedlist.c runtime/sysvar.c
| * restored debug outputRainer Gerhards2008-05-022-17/+17
| |
| * bugfix: segfault in imklogRainer Gerhards2008-04-301-1/+0
| | | | | | | | | | A symbol file was closed when it couldn't opened. That lead to a NULL pointer being passed to fclose()