summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Add LOG_AUDIT facility for eg SolarisMartin Carpenter2013-01-091-0/+3
| | |_|/ / / | |/| | | |
* | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-083-8/+23
|\| | | | |
| * | | | | bugfix: timeval2syslogTime cause problems on some platformsDavid Hill2013-01-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...due to invalid assumption on structure data types. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=394
| * | | | | bugfix: very large memory consumption (and probably out of memory)Rainer Gerhards2013-01-071-0/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | ...when FromPos was specified in template, but ToPos not. Thanks to Radu Gheorghe for alerting us of this bug.
| * | | | bugfix: on termination, actions were incorrectly calledRainer Gerhards2012-12-201-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown.
* | | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2012-12-181-2/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | | cosmetic: re-use existing error code instead of new oneRainer Gerhards2012-12-181-2/+1
| | | | |
* | | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2012-12-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac plugins/impstats/impstats.c plugins/omudpspoof/omudpspoof.c runtime/rsyslog.h
| * | | | omudpspoof: improve libnet calling sequenceRainer Gerhards2012-12-181-0/+1
| |/ / / | | | | | | | | | | | | retains bugfix while increasing performance again
* | | | fix some compile problems on some platformsRainer Gerhards2012-12-141-1/+0
| | | |
* | | | minor cleanupRainer Gerhards2012-12-141-0/+1
| | | |
* | | | Merge branch 'master-optimize-facilitext'Rainer Gerhards2012-12-141-11/+11
|\ \ \ \
| * | | | enhance optimizer: detect eq-comparison for syslog facilityRainer Gerhards2012-12-111-11/+11
| | | | | | | | | | | | | | | | | | | | ... and replace it with a (much faster) prifilt() call
* | | | | Merge branch 'v7-stable'Rainer Gerhards2012-12-131-1/+1
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'v6-stable' into v7-stableRainer Gerhards2012-12-131-1/+1
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-12-131-1/+1
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | Conflicts: ChangeLog
| | | * | bugfix: invalid DST handling under SolarisScott Severtson2012-12-131-1/+1
| | | | |
* | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-068-156/+164
|\| | | | | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * | | Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-062-149/+9
| |\| | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * | bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-062-149/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-304-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
| * | | silence compiler warningsRainer Gerhards2012-11-303-0/+14
| | | | | | | | | | | | | | | | | | | | the changes do not affect actual code execution, just keep the compile log clean.
* | | | bugfix[minor]: invalid error code when mmnormalize could not access rulebaseRainer Gerhards2012-11-301-0/+1
| | | |
* | | | refactor error processing in string template handlingRainer Gerhards2012-11-291-1/+2
| | | |
* | | | bugfix: no error message for invalid string template parametersRainer Gerhards2012-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather a malformed template was generated, and error information emitted at runtime. However, this could be quite confusing. Note that with this "bugfix" user experience changes: formerly, rsyslog and the affected actions properly started up, but the actions did not produce proper data. Now, there are startup error messages and the actions are NOT executed (due to missing template due to template error).
* | | | Merge branch 'v7-stable'Rainer Gerhards2012-11-282-3/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/imptcp.html plugins/mmjsonparse/mmjsonparse.c plugins/mmnormalize/mmnormalize.c
| * | | 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
| | | |