| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Conflicts:
plugins/imjournal/imjournal.c
|
| |
| |
| |
| |
| | |
modified: doc/imjournal.html
modified: plugins/imjournal/imjournal.c
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The original imjournal code did not support ratelimiting at all. We
now have our own ratelimiter. This can mitigate against journal
database corruption, when the journal re-sends old data. This is a
current bug in systemd journal, but we won't outrule this to happen
in the future again. So it is better to have a safeguard in place.
By default, we permit 20,000 messages witin 10 minutes. This may
be a bit restrictive, but given the risk potential it seems reasonable.
Users requiring larger traffic flows can always adjust the value.
|
| | |
|
|/
|
|
|
|
| |
This prevents a segfault when a malformed journal entry field doesn't
contain an equal sign. Should not ever happen but was actually
triggered by a real bug in systemd journal.
|
|
|
|
|
| |
sd_journal_wait() ignores EINTR and this behavior interferes with
module's termination signaling. Therefore, poll() is used instead.
|
|
|
|
|
| |
Because of cancelation, the correct possition in the journal was
lost. This resulted in duplicate messages appearing in the logs.
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
| |
|
|
|
|
|
|
| |
When the imjournal state file path doesn't start with '/',
then it's by default stored in WorkDirectory. When path
starts with '/', full path is used.
|
| |
|
|
|
|
|
| |
This prevented state file from being written with newer systemd.
Add some more debug information.
|
|
|
|
|
| |
... well, it's actually questionable if it is a real optimization
or not ;)
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
|
|
|
| |
modified: imjournal.c
|
|
|
|
|
| |
... most importantly the configure switch is no longer --enable-journal
but --enable-imjournal (as we now also have omjournal!)
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
|
|
|
| |
modified: plugins/imjournal/imjournal.c
|
|
For reading messages with all fields from structured systemd journal
log messages.
Loading module with $ModLoad imjournal is enough to start pulling messages
no other configuration is needed.
modified: Makefile.am
modified: configure.ac
new file: plugins/imjournal/Makefile.am
new file: plugins/imjournal/imjournal.c
new file: plugins/imjournal/imjournal.h
|