summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-011-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html runtime/datetime.h runtime/parser.c runtime/rsyslog.h tools/syslogd.c v4-stable had a bug with RFC5424-formatted structured data, which showed was detected by the enhanced automatted testbench of v4-beta.
| * bugfix: random data could be appended to message, possibly causing segfaultsRainer Gerhards2009-09-241-2/+2
| |
* | introduced the idea of detached propertiesRainer Gerhards2009-06-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | cleanup (removed now-unused parameters)Rainer Gerhards2009-06-251-4/+4
| |
* | some more optimizations of the msg_t object (minor)Rainer Gerhards2009-06-221-1/+1
|/
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-2/+2
| | | | | | | | | | | 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.
* "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-071-1/+1
| | | | | | | 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.
* performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-161-2/+2
| | | | | | removed thanks to David Lang for his excellent performance analysis
* Merge branch 'v3-stable' into betaRainer Gerhards2008-09-121-1/+7
| | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-271-1/+0
|
* added new property replacer option "time-subseconds"Rainer Gerhards2008-06-061-1/+2
| | | | enables to query just the subsecond part of a high-precision timestamp
* moved files to the runtimeRainer Gerhards2008-04-161-0/+52
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.