summaryrefslogtreecommitdiffstats
path: root/plugins/imfile
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | some cleanupRainer Gerhards2008-04-111-1/+1
|/
* fixed memory leaks in stream class and imfileRainer Gerhards2008-03-271-0/+16
|
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-1/+3
|
* bugfix: memory leak in imfileRainer Gerhards2008-03-141-2/+8
|
* added advanced flow control for congestion cases (mode depending on messageRainer Gerhards2008-03-141-0/+1
| | | | source and its capablity to be delayed without bad side effects)
* bugfix: rsyslogd segfaulted when imfile read an empty line - thanks toRainer Gerhards2008-03-121-14/+19
| | | | Johnny Tan for an excellent bug report
* (tried to) fix logerror() call under BSD (but can not yet compile, so thisRainer Gerhards2008-03-061-0/+3
| | | | may be an error...)
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+2
|
* moved date/time handling functions to their own object (2nd pass)Rainer Gerhards2008-03-051-1/+4
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-5/+8
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* bugfix: omfile used invalid obj-call (newly introduced bug)Rainer Gerhards2008-03-051-1/+1
|
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-17/+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-8/+9
| | | | - changed module interface version, as the interface change is quite large
* bugfix: imfile could abort under extreme stress conditions (when it wasRainer Gerhards2008-02-271-3/+7
| | | | terminated before it could open all of its to be monitored files)
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-2/+2
| | | | rsyslog (now) and also much easier to type
* - added new facility and severity syntaxes to cfsysline handlerRainer Gerhards2008-02-141-10/+10
| | | | | - implemented $InputFileFacility config directive - implemented $InputFileSeverity config directive
* - improved file polling algorithm for more rapid file data deliveryRainer Gerhards2008-02-141-26/+30
| | | | - some more cleanup
* error handling and cleanup in imfileRainer Gerhards2008-02-141-23/+28
|
* - enhanced file monitor docRainer Gerhards2008-02-141-7/+13
| | | | - implemented $InputFilePollInterval config directive
* some cleanupRainer Gerhards2008-02-131-3/+3
|
* - fixed a race condition in DoDie() - cosmetic issue in debugging mode,Rainer Gerhards2008-02-131-17/+105
| | | | | could not happen in production - added the ability to persist current read location for the file monitor
* added ability to monitor file accross rotationRainer Gerhards2008-02-131-5/+8
|
* - introduced a new, more powerful, message submission interface submitMsg()Rainer Gerhards2008-02-131-13/+20
| | | | | | in additon to logmsg() - a first, rough implementation of imfile that is able to read files (but does not persist or handle rotation or whatever)
* changed interface of logmsg() to make it more straightforwardRainer Gerhards2008-02-131-1/+1
|
* cleaned up imfile.cRainer Gerhards2008-02-131-283/+19
|
* very quickly hacked a rought outline of the file monitor (without anyRainer Gerhards2008-02-012-0/+639
guarantees)