summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'helgrind' into perfRainer Gerhards2008-09-261-2/+8
|\ | | | | | | | | | | Conflicts: runtime/debug.c
| * cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-261-2/+8
| | | | | | | | multi-threading
* | Merge branch 'helgrind' into perfRainer Gerhards2008-09-181-4/+3
|\| | | | | | | | | | | Conflicts: ChangeLog
| * bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-181-4/+3
| | | | | | | | | | | | | | There was a wrong order of mutex lock operations. It is hard to believe that really caused problems, but in theory it could and with threading we often see that theory becomes practice if something is only used long enough on a fast enough machine with enough CPUs ;)
* | minor things, mostly improved debug infoRainer Gerhards2008-09-181-5/+3
|/
* consolidated time() calls in rule engineRainer Gerhards2008-09-161-3/+0
| | | | | | | ... but did not manage to avoid doing at least one call. So this change introduced performance benefit only in a few non-common situations. Anyhow, it hopefully levels ground for better things to come.
* fixing previous patch, time() call was accidently left inRainer Gerhards2008-09-161-2/+2
| | | | | in one case, which was not on the focus of the initial testing cases.
* performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-161-24/+28
| | | | | | removed thanks to David Lang for his excellent performance analysis
* Merge branch 'beta'Rainer Gerhards2008-09-121-5/+10
|\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-121-6/+11
| | | | | | | | | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
* | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-4/+19
| | | | | | | | | | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
* | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-41/+38
| | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* | Merge branch 'beta'Rainer Gerhards2008-08-131-1/+1
|\| | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-08-131-1/+1
| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
* | some very minor cleanupRainer Gerhards2008-08-121-1/+0
| |
* | added testbed for config errors and fixed a bugRainer Gerhards2008-07-291-7/+13
| | | | | | | | | | | | - bugfix: no error was reported if the target of a $IncludeConfig could not be accessed. - added testbed for common config errors
* | enhanced configuration file error reporting and verificationRainer Gerhards2008-07-291-97/+174
| | | | | | | | | | | | | | | | | | | | | | | | - enhanced config file checking - no active actions are detected - added -N rsyslogd command line option for a config validation run (which does not execute actual syslogd code and does not interfere with a running instance) - somewhat improved emergency configuration. It is now also selected if the config contains no active actions - rsyslogd error messages are now reported to stderr by default. can be turned off by the new "$ErrorMessagesToStderr off" directive Thanks to HKS for suggesting these new features.
* | begun implementing a diagnostic plugin (not yet completed)Rainer Gerhards2008-07-281-0/+1
|/
* Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-5/+5
| | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
* cleanup of debugging messages (removed no longer needed ones)Rainer Gerhards2008-07-141-6/+0
|
* temporary: some debug instrumentation to help find a segfault on freebsdRainer Gerhards2008-07-111-0/+6
|
* minor: enhanced debug output (PRI now included)Rainer Gerhards2008-07-091-1/+1
|
* bugfix: machine certificate was required for client even in TLS anon modeRainer Gerhards2008-07-021-1/+0
| | | | | | Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85 The fix also slightly improves performance by not storing certificates in client sessions when there is no need to do so.
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-20/+31
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* fixed syntax error (typo in var name) and cleaupRainer Gerhards2008-06-101-1/+1
|
* made rsyslog tickless in the (usual and default) case that repeatedRainer Gerhards2008-06-091-9/+17
| | | | | | message reduction is turned off. More info: http://blog.gerhards.net/2008/06/coding-to-save-environment.html
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-6/+19
| | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* some cleanup (gotten rid of some more plain chars)Rainer Gerhards2008-05-061-12/+12
|
* Merge branch 'klogd-bug'Rainer Gerhards2008-04-281-6/+5
|\
| * preparation for bughuntRainer Gerhards2008-04-281-6/+5
| | | | | | | | including some cleanups
* | -c option no longer must be the first optionvarmojfekoj2008-04-241-7/+0
|/ | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* bugfix: a recent change effectively disabled error messagesRainer Gerhards2008-04-181-0/+1
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-5/+18
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* moved "glblModPath" variable inside global data poolRainer Gerhards2008-04-171-1/+0
| | | | (but still as a variable, not part of glbl object)
* moved host/domain-name related variables to global data poolRainer Gerhards2008-04-171-17/+20
|
* moved "DisableDNS" variable to global data poolRainer Gerhards2008-04-171-2/+1
|
* moved "option_DisallowWarning" variable to global data poolRainer Gerhards2008-04-171-5/+1
|
* moved "bDropMalPTRMsgs" variable to global data poolRainer Gerhards2008-04-171-5/+2
|
* moved "family" variable to global data poolRainer Gerhards2008-04-171-3/+2
|
* modularization workRainer Gerhards2008-04-171-12/+8
| | | | | cleanup + created an abstract class for global data items and moved glblGetWorkDir to it
* prevented segfault during runtime library init phaseRainer Gerhards2008-04-161-3/+3
|
* removed no longer needed thingsRainer Gerhards2008-04-161-52/+1
| | | | | ... and some more cleanup. Also moved a file that I forgot (thanks to Michael Biebl for pointing that out).
* some more cleanupRainer Gerhards2008-04-161-0/+3441
reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear