summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | silence some primarily cosmetic compiler warning messagesRainer Gerhards2012-11-281-2/+6
| | | |
| * | | bugfix: modules not (yet) supporting new conf format were not properly ↵Rainer Gerhards2012-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registered This lead to a "module not found" error message instead of the to-be-expected "module does not support new style" error message. That invalid error message could be quite misleading and actually stop people from addressing the real problem (aka "go nuts" ;))
* | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-222-10/+23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/bsd.c plugins/imklog/imklog.c plugins/imklog/imklog.h
| * | | refactor stream.h; fix some issues with last patchRainer Gerhards2012-11-152-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most importantly, the last patch for imfile contained a number of glitches, which are fixed by this commit (a memory leak under unusual conditions, partial message loss when rsyslog was terminated in the interim & mixing file data to the wrong files when multiple monitors were used [due to static variable]). The commit is actually a re-write of the patch, based on its core idea. Also some other minor cleanup was done.
| * | | bugfix: imfile discarded some file partsMilan Bartos2012-11-151-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File lines that were incomplete (LF missing) *at the time imfile polled the file* were partially discarded. That part of the line that was read without the LF was discarded, and the rest of the line was submitted in the next polling cycle. This is now changed so that the partial content is saved until the complete line is read. Note that the patch affects only read mode 0.
* | | | Merge branch 'master-newqueue'Rainer Gerhards2012-11-195-67/+105
|\ \ \ \
| * | | | queue: file delete stream does no longer do real ioRainer Gerhards2012-11-195-67/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stream is primarily used for state tracking, and has been modified to do just that. This results in considerable less io being done and the respective speedup.
* | | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-143-4/+7
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | bugfix: potential segfault at startup with property-based filterRainer Gerhards2012-11-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the property name was followed by a space before the comma, rsyslogd aborted on startup. Note that no segfault could happen if the initial startup went well (this was a problem with the config parser). closes: http://bugzilla.adiscon.com/show_bug.cgi?id=381
| * | | | silence compiler warnings & some cleanupRainer Gerhards2012-11-142-2/+3
| | | | |
| * | | | bugfix: make rsyslog compile on kfreebsd againGuillem Jover2012-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380
* | | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-091-1/+9
|\| | | | | |/ / / |/| | |
| * | | enabled to build without libuuid, at loss of uuid functionalityRainer Gerhards2012-11-091-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | bugfix: property tTIMESTAMP was incorrectly restoredRainer Gerhards2012-11-071-1/+1
| | | | | | | | | | | | | | | | in msg deserializer
* | | | cleanup: remove no longer needed functionRainer Gerhards2012-11-062-87/+0
| | | |
* | | | queue: reduce CPU load for deserializing message propertiesRainer Gerhards2012-11-066-23/+226
| | | | | | | | | | | | | | | | | | | | Linear runtime due to message order. Was quadratic before. However, not a big overall improvement.
* | | | queue: mini-improvement in deserializer (stage work)Rainer Gerhards2012-11-053-5/+5
| | | |
* | | | very minimal improvement in reconstructing persisted queue entriesRainer Gerhards2012-11-051-6/+4
| | | |
* | | | bugfix: dynafile zip files could be corruptedRainer Gerhards2012-11-051-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could happen if a dynafile was destructed before the first write. In practice, this could happen if few lines were written to a file and it then became evicted from the dynafile cache. This would probably look very random, because it depended on the timing in regard to message volume and dynafile cache size.
* | | | queue: handle unknown queue type in debug outputRainer Gerhards2012-11-031-0/+3
| | | | | | | | | | | | | | | | note: can not happen, but...
* | | | queue: remove time() calls from msg deserializationRainer Gerhards2012-11-034-5/+30
| | | |
* | | | queue: use specific deserializer for msg objectRainer Gerhards2012-11-035-10/+73
| | | | | | | | | | | | | | | | spares lengthy table lookups
* | | | queue: remove unnecessary (obj_t*) redirection from msg ptrsRainer Gerhards2012-11-034-49/+44
| | | |
* | | | cosmetic: remove compiler warningRainer Gerhards2012-11-031-1/+1
| | | |
* | | | queue: change generic msg ptr (pUsr) to be of msg_t typeRainer Gerhards2012-11-034-62/+44
| | | |
* | | | queue: change gerenic queue pUsr ptr to be action_tRainer Gerhards2012-11-033-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | this was always action_t, but the initial design was more generic. We are making it specific now in order to gain better performance (after all, we did not need the generic engine in the past 8 years...)
* | | | generate disk .qi file once at queue constructionRainer Gerhards2012-11-022-16/+13
| | | | | | | | | | | | | | | | | | | | ... instead of each time a file write happens. In some situations (very frequent sync), this can probably be a big performane win.
* | | | Merge branch 'master-ratelimit'Rainer Gerhards2012-10-3010-13/+420
|\ \ \ \
| * | | | nit: correct invalid error codeRainer Gerhards2012-10-241-1/+1
| | | | |
| * | | | Merge branch 'master' into master-ratelimitRainer Gerhards2012-10-242-4/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/v7compatibility.html
| * \ \ \ \ Merge branch 'master' into master-ratelimitRainer Gerhards2012-10-231-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | | remove "last message repeated n times" from rsyslog output partRainer Gerhards2012-10-231-7/+2
| | | | | | |
| * | | | | | Merge branch 'master' into master-ratelimitRainer Gerhards2012-10-194-46/+59
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | | | cosmetic: get rid of compiler warning on currently unused debug codeRainer Gerhards2012-10-191-1/+1
| | | | | | | |
| * | | | | | | fix: memory leak in linux-like ratelimiterRainer Gerhards2012-10-151-1/+3
| | | | | | | |
| * | | | | | | fix: we need to use loadConf to access global settingsRainer Gerhards2012-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hint: globals need to be re-done...
| * | | | | | | fix: linux-like ratelimiting did not emit "final" message...Rainer Gerhards2012-10-151-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on destruction of rate limiter.
| * | | | | | | remove debug codeRainer Gerhards2012-10-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | went accidently into commit
| * | | | | | | imptcp: support for Linux-Type ratelimiting addedRainer Gerhards2012-10-152-7/+2
| | | | | | | |
| * | | | | | | ratelimit: added linux-like ratelimiter typeRainer Gerhards2012-10-153-11/+118
| | | | | | | |
| * | | | | | | ratelimit: respect $repeatedmsgreduction settingRainer Gerhards2012-10-152-26/+49
| | | | | | | |
| * | | | | | | milestone: convert imuxsock to ratelimitAddMsg() interfaceRainer Gerhards2012-10-151-3/+5
| | | | | | | |
| * | | | | | | Merge branch 'master' into master-ratelimitRainer Gerhards2012-10-154-8/+16
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/v7compatibility.html
| * | | | | | | | imudp: add input batching & ratelimiter interfaceRainer Gerhards2012-10-152-0/+2
| | | | | | | | |
| * | | | | | | | ratelimiter: enable thread-safe mode & (related) API changesRainer Gerhards2012-10-153-63/+88
| | | | | | | | |
| * | | | | | | | Change debug output defaults to match current needsRainer Gerhards2012-10-151-2/+2
| | | | | | | | |
| * | | | | | | | interface cleanup (probably not final)Rainer Gerhards2012-10-151-1/+1
| | | | | | | | |
| * | | | | | | | milestone: ratelimiter used in imptcpRainer Gerhards2012-10-151-12/+37
| | | | | | | | |
| * | | | | | | | milestone: experimental rate limiter used in imuxsockRainer Gerhards2012-10-123-0/+134
| | | | | | | | |
| * | | | | | | | new ratelimit: interface plumbing addedRainer Gerhards2012-10-094-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no actual implementation yet done