summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* enhanced legacy syslog parser to detect year if part of the timestampv4.1.0Rainer Gerhards2008-11-181-0/+19
| | | | The format is based on what Cisco devices seem to emit.
* Merge branch 'beta'Rainer Gerhards2008-11-182-3/+20
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/property_replacer.html
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-11-111-1/+9
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html
| | * enhance: regex nomatch option "ZERO" has been addedRainer Gerhards2008-11-111-0/+2
| | | | | | | | | | | | | | | | | | This allows to return the string 0 if a regular expression is not found. This is probably useful for storing numerical values into database columns.
| | * improved debug output for regular expressions inside property replacerRainer Gerhards2008-11-111-1/+7
| | | | | | | | | | | | | | | | | | RE's seem to be a big trouble spot and I would like to have more information inside the debug log. So I decided to add some additional debug strings permanently.
| * | Merge branch 'master' into betaRainer Gerhards2008-11-1126-327/+622
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | bugfix: double-free in pctp netstream drivervarmojfekoj2008-10-281-2/+11
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | added configuration directive "HUPisRestart"Rainer Gerhards2008-10-235-2/+41
| | | | | | | | | | | | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* | | added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-228-3/+42
| | | | | | | | | | | | | | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* | | Merge branch 'master' into nextmasterRainer Gerhards2008-10-223-38/+80
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * | Merge branch 'beta'Rainer Gerhards2008-10-211-13/+32
| |\|
| | * bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-211-13/+32
| | | | | | | | | | | | | | | | | | - if queues could not be drained before timeout - thanks to David Lang for pointing this out - added link to german-language forum to doc set
| * | added capability to support multiple module search pathes.Marius Tomaschewski2008-10-202-35/+77
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | Merge branch 'beta'Rainer Gerhards2008-10-161-3/+3
| |\| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * increased maximum size of a configuration statement to 4K (was 1K)Rainer Gerhards2008-10-161-3/+3
| | |
* | | bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-211-13/+32
| | | | | | | | | | | | | | | This occured if queues could not be drained before timeout. Thanks to David Lang for pointing this out.
* | | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-096-6/+19
| | | | | | | | | | | | | | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* | | Merge branch 'master' into perfRainer Gerhards2008-10-091-1/+1
|\| |
| * | Merge branch 'beta'Rainer Gerhards2008-10-091-1/+1
| |\|
| | * Merge branch 'v3-stable' into betaRainer Gerhards2008-10-091-1/+1
| | |
* | | minor: reorder to slightly reduce size of critical sectionRainer Gerhards2008-10-091-1/+1
| | |
* | | added experimental pthread_yield()Rainer Gerhards2008-10-091-0/+5
| | | | | | | | | | | | | | | which so far seems to increase performance. There is also reason for it to do so, see http://kb.monitorware.com/post14216.html#p14216
* | | bumped interface version number to reflect change to message parsingRainer Gerhards2008-10-091-1/+4
| | |
* | | fixing segfault caused by all inputs but imudpRainer Gerhards2008-10-091-0/+1
| | |
* | | reordered imudp processing.Rainer Gerhards2008-10-087-8/+354
| | | | | | | | | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* | | restructured imudp receive loopRainer Gerhards2008-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
* | | cleanup of output timestamp generationRainer Gerhards2008-10-071-0/+4
| | |
* | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-075-11/+29
| | | | | | | | | | | | | | | | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
* | | slightly improved lock contention situation by moving out ofRainer Gerhards2008-10-071-3/+9
| | | | | | | | | | | | the critical section what could so with acceptable consequences
* | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-062-16/+60
| | | | | | | | | | | | | | | | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
* | | Merge branch 'master' into perfRainer Gerhards2008-10-062-1/+10
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'beta'Rainer Gerhards2008-10-021-1/+1
| |\|
| | * bugfix: subseconds where not correctly extracted from a timestampRainer Gerhards2008-10-021-1/+1
| | | | | | | | | | | | | | | if that timestamp did not contain any subsecond information (the resulting string was garbagge but should have been "0", what it now is).
| * | consolidated time calls during msg object creationRainer Gerhards2008-10-021-0/+9
| | | | | | | | | | | | | | | | | | ...this improves performance and consistency and also fixes a bug where subsecond time properties generated by imfile, imklog and internal messages could be slightly inconsistent.
* | | Merge branch 'helgrind' into perfRainer Gerhards2008-10-026-14/+38
|\| |
| * | fixed git merge bug (duplicate code could not be detected)Rainer Gerhards2008-10-021-19/+0
| | |
| * | Merge branch 'master' into helgrindRainer Gerhards2008-10-021-0/+21
| |\ \
| | * | Merge branch 'beta'Rainer Gerhards2008-10-021-3/+24
| | |\|
| | | * Merge branch 'v3-stable' into betaRainer Gerhards2008-10-021-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/net.c
| * | | removed no longer needed mutex callsRainer Gerhards2008-10-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | problem source is that getnameinfo() is not cancel-safe, not that it is not thread-safe. It is now guarded against cancellation.
| * | | bugfix: segfault when main queue was in direct modeRainer Gerhards2008-10-011-1/+1
| | | |
| * | | prevent getnameinfo() from being cancelledRainer Gerhards2008-09-301-2/+5
| | | | | | | | | | | | | | | | | | | | ... but removed the mutex, as the problem seems to be in cancel processing, so the mutex is no longer necessary
| * | | improved threadingRainer Gerhards2008-09-305-13/+35
| |/ / | | | | | | | | | | | | | | | | | | | | | - changed sequence when awakening thread - removed no longer needed condition variable - EXPERIMENTALLY added mutex guarding to hostname lookups this is to be removed if it does not have any verifyable useful effect
* | | Merge branch 'helgrind' into perfRainer Gerhards2008-09-262-8/+15
|\| |
| * | some more threading cleanupRainer Gerhards2008-09-262-8/+15
| | | | | | | | | | | | | | | | | | - removed newly-introduced potential deadlock in debug system - removed unnecessary pthread_cond_signal - a bit general cleanup
* | | Merge branch 'helgrind' into perfRainer Gerhards2008-09-264-135/+93
|\| | | | | | | | | | | | | | | | | Conflicts: runtime/debug.c
| * | fixed potential race condition on HUP and terminationRainer Gerhards2008-09-261-0/+2
| | |
| * | cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-261-129/+79
| | | | | | | | | | | | multi-threading
| * | atomic memory access calls re-enabled in msg.cRainer Gerhards2008-09-231-5/+5
| | | | | | | | | | | | | | | | | | destructor not yet permitted because verification is missing that a atomic opration is sufficient for the job required
| * | bugfix: proper synchronization on message destructionRainer Gerhards2008-09-192-0/+5
| | | | | | | | | | | | | | | The code was potentially race, at least on systems where a memory barrier was needed. Fix not fully tested yet.