summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* consolidated time calls during msg object creationRainer Gerhards2008-10-021-0/+9
| | | | | | ...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.
* bugfix: segfault when main queue was in direct modeRainer Gerhards2008-10-011-1/+1
|
* atomic memory access calls re-enabled in msg.cRainer Gerhards2008-09-231-5/+5
| | | | | | destructor not yet permitted because verification is missing that a atomic opration is sufficient for the job required
* bugfix: proper synchronization on message destructionRainer Gerhards2008-09-191-0/+4
| | | | | The code was potentially race, at least on systems where a memory barrier was needed. Fix not fully tested yet.
* added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-0/+37
| | | | | | | | - 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.
* added new capability to property replacer.Zhuang Yuyao2008-09-101-0/+5
| | | | | | | Multiple immediately successive field delimiters are treated as a single one. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-0/+26
| | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
* bugfix: priority was incorrectly calculated on FreeBSD 7Rainer Gerhards2008-07-141-6/+10
| | | | | | because the LOG_MAKEPRI() C macro has a different meaning there (it is just a simple addition of faciltity and severity). I have changed this to use own, consistent, code for PRI calculation.
* Merge branch 'beta' - important mutex bugfixRainer Gerhards2008-07-141-2/+29
| | | | | | | | | Conflicts: ChangeLog configure.ac doc/Makefile.am doc/manual.html
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-271-1/+0
|
* fixed a bug with the new property replacer optionRainer Gerhards2008-06-071-1/+1
| | | | | there was a copy&paste error in the timereported property - thanks to Elizabeth for reporting it
* added new property replacer option "time-subseconds"Rainer Gerhards2008-06-061-0/+26
| | | | enables to query just the subsecond part of a high-precision timestamp
* enhanced property replacer to support multiple regex matchesRainer Gerhards2008-06-041-5/+28
|
* capability for replacement text in no match regex case addedRainer Gerhards2008-05-301-13/+18
| | | | | | implemented in property replacer: if a regular expression does not match, it can now either return "**NO MATCH** (default, as before), a blank property or the full original property text
* enhanced property replacer's regex to support submatchesRainer Gerhards2008-05-291-7/+21
| | | | | | | - enabled Posix ERE expressions inside the property replacer (previously BRE was permitted only) - provided ability to specify that a regular expression submatch shall be used inside the property replacer
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-2/+39
| | | | | | | | | | - 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
* completed better modularity of runtimeRainer Gerhards2008-04-171-1/+0
| | | | | | | | | | - 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.
* removed no longer needed thingsRainer Gerhards2008-04-161-11/+0
| | | | | ... and some more cleanup. Also moved a file that I forgot (thanks to Michael Biebl for pointing that out).
* 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
* moved files to the runtimeRainer Gerhards2008-04-161-0/+2294
there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.