| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Conflicts:
tools/syslogd.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This happened only on very high volume systems, if the same message was
being processed by two different actions. This was a regression caused
by the new config processor, which did no longer properly enable msg
locking in multithreaded cases. The bugfix is actually a refactoring of
the msg locking code - we no longer do unlocked operations, as the use
case for it has mostly gone away. It is potentially possible only at
very low-end systems, and there the small additional overhead of doing
the locking does not really hurt. Instead, the removal of that
capability can actually slightly improve performance in common cases,
as the code path is smaller and requires slightly less memory writes.
That probably outperforms the extra locking overhead (which in the
low-end case always happens in user space, without need for kernel
support as we can always directly aquire the lock - there is no
contention at all).
|
| |
| |
| |
| | |
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380
|
| |
| |
| |
| |
| |
| | |
this enables smoother builds on older systems that do not support
libuuid. Loss of functionality should usually not matter too much as
uuid support has only recently been added and is very seldom used.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
E.g. in
> set $!time = $timereported;
> set $!time_rcvd = $timegenerated;
pTpe is set to NULL by the caller.
(Is "default" the correct format to use?)
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | |
|
| |
| |
| |
| |
| |
| | |
This function was called at various places, most importantly during
"last messages repeated n times" processing and omruleset. If CEE(JSON)
data was present, it was lost as part of the copy process.
|
| |
| |
| |
| |
| | |
json-c upstream made this clear some posts later in the discussion that
I was refering to.
|
| |
| |
| |
| |
| | |
Otherwise, further modifications will modify the original and "copied"
JSON tree.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- memory leak if container was tried to replace
- too early free due to invalid reference counting
- performance improvement for set statement
|
| | |
|
| |
| |
| |
| |
| | |
code passes basic tests, no extended testing done. Definitely room
for improvement, but not bad ;)
|
| | |
|
| |
| |
| |
| | |
Thanks to Miloslav Trmač for alerting us of this problem.
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| | |
also some type cleanup and simplification
|
|\|
| |
| |
| |
| | |
Conflicts:
runtime/msg.c
|
| |\ |
|
| | | |
|
| | | |
|
| |\ \
| | |/
| |/|
| | |
| | | |
Conflicts:
runtime/msg.c
|
| | |
| | |
| | |
| | | |
also some cleanup
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
%$!all-json% will return a {}-wrapped object if there are are any
events, or when there is an attached (empty) pMsg->event, but an empty
string if nothing is attached. Let it return an empty object "{}" in
that case for consistency. In particular, this allows
$template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%"
to always result in a valid JSON.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| |/
| |
| |
| |
| |
| |
| | |
JSON fields are "name":value, not "name"=value. Therefore change the
jsonf flag to use a colon.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
action.c
configure.ac
doc/manual.html
runtime/ruleset.c
template.h
threads.c
tools/syslogd.c
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
template.c
|
| | |
| | |
| | |
| | |
| | | |
see template.c file header for details
Note that this functionality was almost never used in practice
|
| |\|
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
The character immediately in front of the first escape was lost.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
| |\ \ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | | |
Conflicts:
ChangeLog
|
| | | | |
| | | | |
| | | | |
| | | | | |
Thanks to Zdenek Salvet for finding this bug and to Bodik for reporting
|
| | | | |
| | | | |
| | | | |
| | | | | |
For the time being, $uptime is not supported on Solaris
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Conflicts:
runtime/modules.c
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
runtime/modules.c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If it is not present, it must have the nilvalue "-" as of RFC5424
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=332
Thanks to John N for reporting this issue.
|
| |\ \ \ \ |
|
| | |/ / / |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
runtime/msg.c
|
| |\ \ \ \ \ |
|
| |_|_|_|_|/
|/| | | | | |
|