summaryrefslogtreecommitdiffstats
path: root/plugins/imfile
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-01-161-15/+14
|\ | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-141-15/+14
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/omtesting/omtesting.c tcpsrv.c threads.c
| | * more files moved to ASL 2.0Rainer Gerhards2012-01-121-15/+14
| | |
* | | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-10-171-2/+2
|\| | | | | | | | | | | | | | Conflicts: ChangeLog
| * | bugfix: imfile did invalid system call under some circumstancesRainer Gerhards2011-10-071-2/+2
| | | | | | | | | | | | | | | | | | when a file that was to be monitored did not exist BUT the state file actually existed. Mostly a cosmetic issue. Root cause was incomplete error checking in stream.c; so patch may affect other code areas.
* | | imfile: added $InputFileMaxLinesAtOnce directiveRainer Gerhards2011-05-241-1/+10
| | |
* | | enhanced imfile to support input batchingRainer Gerhards2011-05-241-1/+13
|/ /
* | backporting patch for clean make distcheckRainer Gerhards2011-03-161-0/+8
| |
* | 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>
* | enhance: imfile did not yet support multiple rulesets, now addedRainer Gerhards2011-02-181-0/+34
| | | | | | | | | | | | we do this directly in the beta because a) it does not affect existing functionality and b) one may argue that this missing functionality is close to a bug.
* | bugfix: very long running actions could prevent shutdown under some ↵Rainer Gerhards2011-02-111-3/+3
| | | | | | | | | | | | circumstances This has now been solved, at least for common situations.
* | enhanced imfile to support non-cancel input terminationRainer Gerhards2011-02-101-6/+16
| |
* | enhanced imfile to support multi-line messagesDavid Lang2011-01-251-1/+7
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-11-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html plugins/imfile/imfile.c runtime/rsyslog.h
| * | imfile improvementsRainer Gerhards2010-10-271-3/+17
| | | | | | | | | | | | | | | | | | - added the $InputFilePersistStateInterval config directive to imfile - changed imfile so that the state file is never deleted (makes imfile more robust in regard to fatal failures)
| * | Merge branch 'v4-devel' into v5-betaRainer Gerhards2010-10-151-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
* | \ \ Merge branch 'v4-devel' into v5-develroot2010-10-201-3/+17
|\ \ \ \ | | |_|/ | |/| |
| * | | imfile improvementsRainer Gerhards2010-10-241-18/+17
| | |/ | |/| | | | | | | | | | | | | - added the $InputFilePersistStateInterval config directive to imfile - changed imfile so that the state file is never deleted (makes imfile more robust in regard to fatal failures)
| * | fixed incomplete mergeRainer Gerhards2010-10-151-0/+1
| | |
| * | imfile: bugfixes in regard to large files (> 2GB)Rainer Gerhards2010-10-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | - bugfix: a couple of problems that imfile had on some platforms, namely Ubuntu (not their fault, but occured there) - bugfix: imfile utilizes 32 bit to track offset. Most importantly, this problem can not experienced on Fedora 64 bit OS (which has 64 bit long's!)
* | | imfile: bug fixesRainer Gerhards2010-10-151-1/+4
| |/ |/| | | | | | | | | | | | | either one or two bugs fixed ;) Definitely a problem where no state file is written when working with relative pathes. Also, some problems with offsets should be fixed for very large files. However, I could not yet experimentally show the issue so it probably needs more verification.
* | my imfile cleanup was a bit too agressive ;)Rainer Gerhards2009-10-191-0/+1
| | | | | | | | ... so I moved the one line that some platforms need back in.
* | cosmetic: cleanup of imfileRainer Gerhards2009-10-161-35/+13
| |
* | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-131-1/+0
|/
* finished transition to using inputName propertyRainer Gerhards2009-06-301-1/+14
| | | | | ... 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-291-1/+1
| | | | | | | | | | | | | 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)
* 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/+3
|
* cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-181-1/+1
|
* Merge branch 'master' into omfileRainer Gerhards2009-06-161-2/+1
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| * removed long-obsoleted property UxTradMsgRainer Gerhards2009-06-161-1/+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 $OMFileIOBufferSize config directive and plumbingRainer Gerhards2009-06-041-2/+1
| |
* | cleaned up stream class ...Rainer Gerhards2009-06-041-24/+27
|/ | | | | | ... and also made it callable via an rsyslog interface rather then relying on the OS loader (important if we go for using it inside loadbale modules, which we soon possible will)
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-2/+3
| | | | | | | | | | | 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.
* 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.
* 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/+1
| | | | | | | | - 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.
* Merge branch 'v3-stable' into betaRainer Gerhards2008-08-151-3/+15
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/rsyslog_ng_comparison.html
| * fixed cross-platform compile problem introduced with recent changeRainer Gerhards2008-08-151-6/+13
| | | | | | | | ...which fixed the imfile segfault issue.
| * bugfix: imfile could cause a segfault upon rsyslogd HUP and terminationRainer Gerhards2008-08-141-2/+7
| | | | | | | | | | Thanks to lperr for an excellent bug report that helped detect this problem.
* | added (internal) error codes to error messagesRainer Gerhards2008-06-271-5/+5
| | | | | | | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* | disabled compile warnings caused by third-party librariesRainer Gerhards2008-06-231-0/+6
| |
* | moved host/domain-name related variables to global data poolRainer Gerhards2008-04-171-1/+1
| |
* | modularization workRainer Gerhards2008-04-171-2/+6
| | | | | | | | | | cleanup + created an abstract class for global data items and moved glblGetWorkDir to it
* | some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | | | | | | 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
|/
* Merge branch 'bsd-port'Rainer Gerhards2008-04-151-0/+3
|\ | | | | | | | | | | | | Conflicts: ChangeLog plugins/imklog/imklog.c
| * implemented high precision timestamps for the kernel log.Rainer Gerhards2008-04-121-0/+3
| | | | | | | | | | Thanks to Michael Biebl for pointing out that the kernel log did not have them.