| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
primarily to ease migration from syslog-ng. See property replacer doc
for details.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
doc/manual.html
tools/syslogd.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- improved testbench to contain samples for totally malformed messages
which miss parts of the message content
- bugfix: some malformed messages could lead to a missing LF inside files
or some other missing parts of the template content.
- bugfix: if a message ended immediately with a hostname, the hostname
was mistakenly interpreted as TAG, and localhost be used as hostname
|
|/
|
|
|
| |
...by replacing time() call with much faster (at least under linux)
gettimeofday() calls.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Some devices seem to create them and I do not see any harm in supporting that.
|
| |
| |
| |
| |
| | |
This could lead to timestamps written in the wrong format, but not to
an abort.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
tests for the various timestamp formats have been added
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
new tests added, now much better
|
|
|
|
| |
The format is based on what Cisco devices seem to emit.
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| | |
if that timestamp did not contain any subsecond information (the
resulting string was garbagge but should have been "0", what it now is).
|
|/
|
|
|
|
| |
removed
thanks to David Lang for his excellent performance analysis
|
|
|
|
|
|
|
| |
Conflicts:
runtime/datetime.h
runtime/rsyslog.h
|
|
|
|
| |
enables to query just the subsecond part of a high-precision timestamp
|
|
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.
|