summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* optimize: slight improvement due to isdigit() replacementRainer Gerhards2013-01-141-2/+3
|
* optimize: iscntrl() seems to be surprisingly slowRainer Gerhards2013-01-141-4/+3
| | | | at least so tells the profiler...
* optimize: obtaining programnameRainer Gerhards2013-01-143-64/+35
| | | | included some additional refactoring for cleaner code
* optimzize: msg/getNow() - remove snprintfRainer Gerhards2013-01-141-8/+26
| | | | instead, we use a lookup table for the values.
* optimize: permit cancel during object destructionRainer Gerhards2013-01-141-4/+1
| | | | | | | 1) usually, no cancellation happens 2) even if so, there is no cancellation point inside the destructors, so disabeling cancellation was mood in the first place...
* optimize msg.c/textpriRainer Gerhards2013-01-142-11/+14
| | | | remove snprintf() in favor for quicker code
* omfile: improved async writing, finally enabled full async writeRainer Gerhards2013-01-141-11/+17
| | | | also fixed a couple of smaller issues along that way
* Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2013-01-144-1/+27
|\ | | | | | | | | Conflicts: ChangeLog
| * Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-141-1/+3
| |\
| | * Merge branch 'v5-stable' into v7-stableRainer Gerhards2013-01-141-1/+3
| | |\
| | | * bugfix: decrement string lengthTomas Heinrich2013-01-141-1/+3
| | | |
| * | | added capability to output thread-id-to-function debug infoRainer Gerhards2013-01-133-0/+24
| | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users.
| * | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-093-1/+13
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-092-1/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2012-12-201-7/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c
* | | | | | optimize: do date() call in template processing only if actually neededRainer Gerhards2013-01-131-0/+4
| | | | | |
* | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-093-1/+13
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | fix typo from last patch, prevented compile on non-solarisRainer Gerhards2013-01-091-2/+2
| | | | | |
| * | | | | Use compatibility library if getifaddrs(3) not availableMartin Carpenter2013-01-091-0/+4
| | | | | |
| * | | | | Check that sysinfo(2) can return uptimeMartin Carpenter2013-01-091-1/+6
| | | | | |
| * | | | | 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.