summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-stable-mmrfc5424addhmac'Rainer Gerhards2013-09-261-2/+6
|\
| * mmrfc5424addhmac: correctly handle empty structured dataRainer Gerhards2013-09-261-2/+6
| |
* | Merge branch 'v7-stable-mmrfc5424addhmac'Rainer Gerhards2013-09-261-46/+46
|\| | | | | | | | | | | | | | | Conflicts: Makefile.am configure.ac runtime/msg.c runtime/rsyslog.h
| * mmrfc5424addhmac: complete initial implementationRainer Gerhards2013-09-251-0/+16
| | | | | | | | | | hash is now also persisted back to structured-data rsyslog property
| * simplify STRUCTURED-DATA representation in msg objectRainer Gerhards2013-09-251-17/+19
| |
| * expose so-far msg-internal method to query structured dataRainer Gerhards2013-09-231-22/+11
| | | | | | | | | | | | | | | | This also lead to a slight performance optimization in the msg.c module (when it comes to querying structured data). This is stage work in order to provide the capability to fully parse structured data.
| * mmrfc5424addhmac milestone: do not process non-rfc5424 messagesRainer Gerhards2013-09-231-10/+3
| |
* | regression fix: message properties did not workRainer Gerhards2013-09-111-1/+1
| | | | | | | | | | This was a regeression from the global/local variabe work done for this release. Consequently, this problem did not occur in any released version.
* | Merge branch 'v7-stable'Rainer Gerhards2013-09-051-1/+1
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * bugfix: some more build problems with newer json-c versionsRainer Gerhards2013-09-041-1/+1
| | | | | | | | Thanks to Michael Biebl for mentioning the problem.
* | Merge branch 'v7-stable'Rainer Gerhards2013-09-031-1/+1
|\|
| * make rsyslog use the new json-c pkgconfig file if availablehwoarang2013-09-031-1/+1
| |
* | Merge branch 'c9'Rainer Gerhards2013-09-021-0/+10
|\ \ | | | | | | | | | | | | Conflicts: runtime/msg.c
| * | milestone: defaultTZ can be set in msg obj (via imtcp)Rainer Gerhards2013-08-301-0/+10
| |/ | | | | | | ... but parser does not yet use it.
* | add proper sync to global variablesRainer Gerhards2013-07-231-3/+17
| |
* | fix: global&local variables could not be accessed via RainerScriptRainer Gerhards2013-07-231-2/+6
| | | | | | | | | | also, global variable pool did receive extra variables that did not belong to global pool (problem in last milestone commit)
* | first shot at global variables (without proper sync so far)Rainer Gerhards2013-07-221-8/+34
| |
* | Merge branch 'master-localvars'Rainer Gerhards2013-07-201-49/+130
|\ \ | |/ |/|
| * make local vars work together with disk queuesRainer Gerhards2013-07-171-0/+8
| |
| * milestone: basic local variable functionality availableRainer Gerhards2013-07-171-10/+57
| | | | | | | | but some nits, like do not work with disk queues
| * refactor in preparation of local variablesRainer Gerhards2013-07-171-39/+65
| | | | | | | | | | local variables require a second json root; this refactoring makes sure we can basically use common functions for json handling
* | bugfix: $QHOUR/$HHOUR were always "00" or "01"Rainer Gerhards2013-07-191-2/+2
| | | | | | | | | | regression some time between v5 and here Thanks to forum user rjmcinty for reporting this bug
* | bugfix: memory leak if disk queues were used and json data presentRainer Gerhards2013-07-171-0/+1
| |
* | bugfix: CEE/json data was lost during disk queue operationRainer Gerhards2013-07-171-2/+1
|/
* build: fix issues on FreeBSDRainer Gerhards2013-06-251-1/+1
| | | | | The last fix was incomplete. Thanks to Christiano for testing and suggestions.
* $uptime property: fix mem leak and build problems on FreeBSDRainer Gerhards2013-06-241-3/+27
|
* cleanupRainer Gerhards2013-03-291-2/+0
|
* Merge branch 'v7-stable-info'Rainer Gerhards2013-03-291-5/+12
|\ | | | | | | | | | | Conflicts: ChangeLog template.c
| * permit substring extraction relative to end-of-string in templatesRainer Gerhards2013-03-291-5/+12
| |
* | mmanon: complete ipv4 functionalityRainer Gerhards2013-03-041-0/+8
| |
* | optimze: reduce memory operations during dns resolution/hostname settingRainer Gerhards2013-01-221-20/+38
| | | | | | | | | | | | | | | | | | | | previously, hostname and ip strings were shuffled to the msg object, which created a property out of them. Now the cache holds the property, and it is resused (almost) everywhere, what saves a lot of memory operations. The only exception is imtcp session setup, where different handling of the hostname is done, which we need to sort out (but that's another story).
* | Merge branch 'master' into master-dns-propsRainer Gerhards2013-01-241-6/+10
|\ \
| * | regression fix: programname was not properly handledRainer Gerhards2013-01-241-6/+10
| | | | | | | | | | | | Regression from recent refactoring - never released.
* | | optimize: have dns cache pre-create rsyslog prop_t'sRainer Gerhards2013-01-241-7/+3
|/ /
* | optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-181-3/+5
| |
* | bugfix: regression from textpri() optimizationRainer Gerhards2013-01-151-1/+2
| |
* | optimize: obtaining programnameRainer Gerhards2013-01-141-62/+29
| | | | | | | | 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 msg.c/textpriRainer Gerhards2013-01-141-10/+14
| | | | | | | | remove snprintf() in favor for quicker code
* | optimize: do date() call in template processing only if actually neededRainer Gerhards2013-01-131-0/+4
| |
* | Merge branch 'v7-stable'Rainer Gerhards2013-01-091-1/+6
|\| | | | | | | | | Conflicts: ChangeLog
| * Check that sysinfo(2) can return uptimeMartin Carpenter2013-01-091-1/+6
| |
* | Merge branch 'v7-stable'Rainer Gerhards2013-01-081-0/+2
|\|
| * 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.
* | minor cleanupRainer Gerhards2012-12-141-0/+1
| |
* | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-132/+89
|\| | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-061-137/+9
| |\ | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-061-137/+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).
* | | Merge branch 'v7-stable'Rainer Gerhards2012-11-141-2/+2
|\| |
| * | bugfix: make rsyslog compile on kfreebsd againGuillem Jover2012-11-141-2/+2
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380