summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | doc: imjournal doc correctionTomas Heinrich2013-06-191-1/+1
| | | |
| * | | doc: remove duplicate omfile descriptionsRainer Gerhards2013-06-171-38/+34
| | | | | | | | | | | | | | | | | | | | always bears the risk that one or another is not maintained when an update happpens
| * | | prepare for 7.4.1 releasev7.4.1Rainer Gerhards2013-06-173-3/+3
| | | |
| * | | imjournal: rate limiter was destructed too earlyRainer Gerhards2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | Too quick hacking, obviously, one too late, one too early, now it should fit ;) Thanks to Tomas Heinrich for pointing this out.
| * | | imjournal fix: put ratelimiter destruction in wrong entry pointRainer Gerhards2013-06-172-2/+2
| | | | | | | | | | | | | | | | No regression, this was in recently written, never-released code.
| * | | implement new ratelimiting mode for imjournalRainer Gerhards2013-06-173-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and make imjournal use it. The new mode is needed, as imjournal uses journal's timestamp as message generation time (which otherwise is when the message entered the system, and the ratelimiter uses this as current timestamp in order to save performance). It is debatable if imjournal is doing the right thing here. But it doesn't feel totally wrong. So let's safe that debate for later ;)
| * | | doc: legacy parameter description in imjournal slightly wrongRainer Gerhards2013-06-171-2/+2
| | | |
| * | | doc cleanupRainer Gerhards2013-06-171-5/+5
| | | |
| * | | Add IgnorePreviousMessages option to imjournal.Milan Bartos2013-06-172-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option specifies whether imjournal should ignore messages that are currently in journal. This option is only used when there is no StateFile to avoid message loss. modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c Conflicts: doc/imjournal.html plugins/imjournal/imjournal.c
| * | | doc: improve imjournal docRainer Gerhards2013-06-171-17/+19
| | | | | | | | | | | | | | | | most importantly, convert sample to new-style config format
| * | | fix imjournal doc after merging patchRainer Gerhards2013-06-171-11/+2
| | | | | | | | | | | | | | | | | | | | ... was changed in the interim, so the result of the merge was sub-optimal ;)
| * | | Merge branch 'tmp' into v7-stableRainer Gerhards2013-06-172-3/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imjournal/imjournal.c
| | * | | Rename legacy imjournal configs to have "imjournal" prepended.Milan Bartos2013-06-172-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | modified: doc/imjournal.html modified: plugins/imjournal/imjournal.c
| * | | | doc bugfix: DynaFileCacheSize description in omfile was wrongRainer Gerhards2013-06-161-2/+6
| | | | | | | | | | | | | | | | | | | | thanks to David Lang for alerting me.
| * | | | doc: add journal presentation link to omjournal docRainer Gerhards2013-06-161-0/+3
| | | | |
| * | | | doc: improve imjournal doc and add ratelimiting paramtersRainer Gerhards2013-06-161-8/+56
| | | | |
| * | | | imjournal: add legacy config statement for ratelimitingRainer Gerhards2013-06-151-0/+4
| | | | |
| * | | | imjournal: add ratelimiting capabilityRainer Gerhards2013-06-152-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | doc: warn about using imjournalRainer Gerhards2013-06-151-0/+8
| | | | | | | | | | | | | | | | | | | | do to bugs in systemd, the module can lead to a DoS to the local machine
| * | | | doc: mention contributed patch in ChangeLogRainer Gerhards2013-06-141-0/+1
| | | | |
| * | | | bugfix: prevent a segfault if state file is not definedTomas Heinrich2013-06-141-12/+31
| | | | |
| * | | | systemd: use service type notifyCristian Rodríguez2013-06-142-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a time window, between rsyslog reporting syntax errors and the daemon returning with failure, this may cause systemctl restart rsyslog to not report any error inmediately but later in the logs which is confusing to users. The appropiate steps to correct this annoyance is to notify systemd with a simple sd_notify(0, "READY=1"); just before entering the main loop. Tested in openSUSE 12.3/13.1 x86_64
| * | | | Fix rsyslog.service to comply with systemd recommendationsCristian Rodríguez2013-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those are documented here: http://www.freedesktop.org/wiki/Software/systemd/syslog/
| * | | | bugfix: prevent calling tellLostCnt() twiceTomas Heinrich2013-06-121-1/+1
| | | | |
| * | | | bugfix: prevent another endless loop in the ratelimiterTomas Heinrich2013-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The message that reports how many messages were lost due to ratelimiting was sent before reseting the state that led to it. If it itself got ratelimited, this could lead to an endless loop.
| * | | | doc bugfix: imrelp does not have a v6+ "ruleset" config parameterRainer Gerhards2013-06-101-4/+2
| | | | |
| * | | | doc: add contributed patches to ChangeLogRainer Gerhards2013-06-101-0/+4
| | | | |
| * | | | bugfix: prevent an endless loop in the ratelimiterTomas Heinrich2013-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If messages are being dropped because of ratelimiting, an internal message is generated to inform about this fact. This should happen only uppon the firs occurance but the counter that tracks the number of dropped messages was incremented only after sending the message. If the message itself gets ratelimited, an endless loop spins out of control. Thanks to Jerry James for notifying about this.
| * | | | bugfix: be more tolerant to malformed journal fieldsTomas Heinrich2013-06-101-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | bugfix imzmq3: potential segfault on startupHongfei Cheng2013-06-062-13/+62
| |/ / / | | | | | | | | | | | | if no problem happend at startup, everything went fine
| * | | prepare for 7.4.0 releasev7.4.0Rainer Gerhards2013-06-053-3/+4
| | | |
| * | | 0mq fixes; credits to Hongfei Cheng and Brian KnoxRainer Gerhards2013-06-045-397/+614
| | | |
| * | | build: don't check for libs that are not neededTomas Heinrich2013-06-031-7/+1
| | | |
| * | | doc: correct omfile documentationTomas Heinrich2013-06-031-6/+6
| | | | | | | | | | | | | | | | Some of the options affect all files, not just dynafiles.
| * | | doc: clarify RSYSLOG_DEBUG formatTomas Heinrich2013-06-031-0/+1
| | | |
| * | | bugfix: postpone the start of the imgssapi listenerTomas Heinrich2013-06-031-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the listen socket is opened earlier (during configuration parsing), it is closed again during early init. The start has been postponed to the 'runInput' stage, which has an unpleasant side effect that it will fail if the priviledges are dropped. The code should be eventually fixed to support the new config system.
| * | | bugfix: $template statement with multiple spaces lead to invalid tpl nameRainer Gerhards2013-05-273-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple spaces were used in front of the template name, all but one of them became actually part of the template name. So $template a,"..." would be name " a", and as such "a" was not available, e.g. in *.* /var/log/file;a This is a legacy config problem. As it was unreported for many years, no backport of the fix to old versions will happen. This is a long-standing bug that was only recently reported by forum user mc-sim. Reference: http://kb.monitorware.com/post23448.html
| * | | doc bugfix: ReadMode wrong in imfile doc, two values were swappedRainer Gerhards2013-05-262-2/+5
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=450 Thanks to jokajak@gmail.com for mentioning this
| * | | add --enable-cached-man-pages ./configure optionRainer Gerhards2013-05-262-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | permits to build rsyslog on a system where rst2man is not installed. In that case, cached versions of the man pages are used (they were built during "make dist", so they should be current for the version in question.
| * | | bugfix: imjournal should respect termination requestTomas Heinrich2013-05-261-11/+67
| | | | | | | | | | | | | | | | | | | | sd_journal_wait() ignores EINTR and this behavior interferes with module's termination signaling. Therefore, poll() is used instead.
| * | | bugfix: imjournal's thread shouldn't be canceledTomas Heinrich2013-05-261-2/+8
| | | | | | | | | | | | | | | | | | | | Because of cancelation, the correct possition in the journal was lost. This resulted in duplicate messages appearing in the logs.
| * | | doc: add imjournal improvement to ChangeLogRainer Gerhards2013-05-221-0/+1
| | | |
| * | | Eliminate sleep in imjournal code with sd_journal_waitMilan Bartos2013-05-221-5/+6
| | | | | | | | | | | | | | | | modified: plugins/imjournal/imjournal.c
| * | | Remove redundat cflags and links to librariesTomas Heinrich2013-05-204-8/+8
| | | | | | | | | | | | | | | | | | | | This prevents linking with libee, liblognorm and libgcrypt when not necessary.
| * | | Revert "bugfix: problem in build system (especially when cross-compiling)"Tomas Heinrich2013-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 813c9c7f524976ef598864afbb729bca31557c32. Removing references to libee.h in the previous commit solves the build issue so the cflag shoudn't be needed after all.
| * | | Don't #include libestr and libee headers when not necessaryTomas Heinrich2013-05-203-5/+1
| | | | | | | | | | | | | | | | | | | | Through msg.h, many unrelated components needlessly required LIBEE_CFLAGS.
| * | | Clean up warnings in imjournal and omjournalTomas Heinrich2013-05-202-9/+14
| | | |
| * | | Drop unneeded macro definitionTomas Heinrich2013-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The macro itself was a malformed version of "_GNU_SOURCE" and thus had no effect. It is not needed as this macro is already defined via AC_GNU_SOURCE.
| * | | Imjournal state files can be stored in WorkDirectoryMilan2013-05-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | bugfix: potential hang *in debug mode* on rsyslogd terminationRainer Gerhards2013-05-152-7/+15
| | | |