summaryrefslogtreecommitdiffstats
path: root/runtime/msg.h
Commit message (Collapse)AuthorAgeFilesLines
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-4/+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.
* bugfix: unitialized mutex was used in msg.c:getPRIRainer Gerhards2009-01-261-0/+1
| | | | | This was subtle, because getPRI is called as part of the debugging code (always executed) in syslogd.c:logmsg.
* moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-1/+12
| | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* reordered imudp processing.Rainer Gerhards2008-10-081-3/+4
| | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-071-1/+8
| | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
* added $UDPServerTimeRequery optionRainer Gerhards2008-10-061-2/+2
| | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
* added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-1/+4
| | | | | | | | - 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 property replacer option "time-subseconds"Rainer Gerhards2008-06-061-0/+2
| | | | enables to query just the subsecond part of a high-precision timestamp
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-0/+3
| | | | | | | | | | - 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
* some more cleanupRainer Gerhards2008-04-161-1/+0
| | | | | 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/+178
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.