summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-08-221-4/+59
|\ | | | | | | | | Conflicts: runtime/ruleset.c
| * bugfix: multiple main queues with same queue file name were not detectedRainer Gerhards2012-08-221-1/+40
| | | | | | | | | | | | This lead to queue file corruption. While the root cause is a config error, it is a bug that this important and hard to find config error was not detected by rsyslog.
| * bugfix: potential abort if output plugin logged message during shutdownRainer Gerhards2012-08-011-3/+19
| | | | | | | | | | | | | | note that none of the rsyslog-provided plugins does this Thanks to bodik and Rohit Prasad for alerting us on this bug and analyzing it. fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=347
* | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-151-0/+1
|\|
| * bugfix "$PreserveFQDN on" was not honored in some modulesRainer Gerhards2012-06-121-0/+1
| | | | | | | | | | Thanks to bodik for reporting this bug. ---------------------------------------------
* | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-061-0/+5
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/modules.c
| * add small delay (50ms) after sending shutdown messageRainer Gerhards2012-06-041-0/+5
| | | | | | | | | | | | There seem to be cases where the shutdown message is otherwise not processed, not even on an idle system. Thanks to Marcin for bringing this problem up.
* | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-011-2/+2
|\| | | | | | | | | Conflicts: runtime/queue.c
| * cosmetic: slightly improved debug outputRainer Gerhards2012-05-311-2/+2
| |
* | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-291-0/+3
|\|
| * bugfix: if debug message could end up in log file when forkingTomas Heinrich2012-05-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | if rsyslog was set to auto-background (thus fork, the default) and debug mode to stdout was enabled, debug messages ended up in the first log file opened. Currently, stdout logging is completely disabled in forking mode (but writing to the debug log file is still possible). This is a change in behaviour, which is under review. If it causes problems to you, please let us know. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * cleanup: removing no longer needed macrosRainer Gerhards2012-05-041-1/+1
| |
* | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-031-0/+1
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * debug: slightly improved debug info for input module startupRainer Gerhards2012-05-031-0/+1
| |
* | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-121-73/+97
|\ \
| * | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-04-121-73/+97
| |\| | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c runtime/glbl.c
| | * imuxsock: do not cache hostnameRainer Gerhards2012-04-121-1/+1
| | |
| | * Allocate LocalDomain as new stringMarius Tomaschewski2012-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | LocalDomain points to "" or the domain in LocalHostName, allocate as new string before passing to SetLocalDomain or free will fail later. Signed-off-by: Marius Tomaschewski <mt@suse.com>
| | * bugfix: hostname was not requeried on HUPRainer Gerhards2012-04-111-72/+93
| | | | | | | | | | | | Thanks to Marius Tomaschewski for reporting this bug.
* | | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-071-8/+2
|\| | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html
| * | milestone: added capability to use a local interface IP address as fromhost-ipRainer Gerhards2012-03-211-9/+2
| | | | | | | | | | | | | | | ... for locally originating messages. New directive $LocalHostIPIF. Note that not all modules yet support this new directive - next step...
* | | cosmetic: removed stray definitionRainer Gerhards2012-03-121-1/+0
| | |
* | | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-03-121-2/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/imuxsock.html doc/manual.html runtime/queue.c
| * | added capability to use a local interface IP address as fromhost-ip for imuxsockRainer Gerhards2012-03-061-0/+1
| | | | | | | | | | | | new config directives: $IMUXSockLocalIPIF
| * | queue: lightdelay config: keep default of 70% until mark is explicitely setRainer Gerhards2012-02-221-3/+5
| | |
| * | added configuration directives to customize queue light delay marksRainer Gerhards2012-02-211-2/+6
| |/ | | | | | | | | $MainMsgQueueLightDelayMark, $ActionQueueLightDelayMark; both specify number of messages starting at which a delay happens.
* | Merge branch 'v5-stable-elasticsearch' into v5-devel-tmpRainer Gerhards2012-01-171-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/syslogd.c
| * | add elasticsearch output moduleNathan Scott2012-01-171-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | Add support for sending events to elasticsearch - a distributed, RESTful, search engine built on Lucene (www.elasticsearch.org). The output module is enabled via a configure option, and uses libcurl to send the messages from rsyslog to elasticsearch. This patch makes use of the earlier JSON quoting patch to ensure valid JSON strings are sent to the server. Signed-off-by: Nathan Scott <nathans@aconex.com>
* | fix error of not define HAVE_SETSIDPeng Haitao2012-01-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [add list to the CC list] When HAVE_SETSID is not defined, rsyslogd will use ioctl() make itself to daemon, but this can not make rsyslogd process become the process group leader of a new process group. In RHEL6.1, the status is as follows: # uname -a Linux RHEL6U1GA-Intel64-199 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux # /etc/init.d/rsyslog restart Shutting down system logger: [ OK ] Starting system logger: [ OK ] # ps axo pgrp,ppid,pid,comm | grep rsyslog 6290 1 6301 rsyslogd When we send SIGTERM signal to 6290, rsyslogd will die:( So I think we should call setpgid() before ioctl(). Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
* | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-01-161-1/+21
|\| | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-161-1/+21
| |\ | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * FQDN hostname for multihomed host was not always set to the correct nameTomas Heinrich2012-01-161-2/+22
| | | | | | | | | | | | | | | | | | ..if multiple aliases existed. Thanks to Tomas Heinreich for the patch. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v4-stable-tmp' into v5-devel-tmpRainer Gerhards2012-01-101-0/+3
|\ \ \ | |/ / |/| | | | | | | | | | | Conflicts: dirty.h tools/syslogd.c
| * | Merge branch 'tmp' into v4-stable-tmpRainer Gerhards2012-01-101-0/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: dirty.h doc/rsyslog_conf_global.html tools/syslogd.c
| | * | added $SpaceLFOnReceive config directiveTomas Heinrich2012-01-101-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | Merge branch 'tmp' into v4-stable-tmpRainer Gerhards2012-01-101-0/+3
| |\| | | | |/ | |/|
| | * added canned template for ultra-exact sysklogd file formatTomas Heinrich2012-01-101-0/+3
| | | | | | | | | | | | | | | | | | the point is that LF will be translated to SP Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | Merge branch 'v4-stable' into v4-betaRainer Gerhards2011-08-301-1/+1
| |\ \ | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | bugfix: off-by-one(two) bug in legacy syslog parserRainer Gerhards2011-08-101-1/+1
| | | |
* | | | bugfix: rsyslogd -v always said 64 atomics were not presentmono_matsuko2011-09-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | bugfix: problems in failover action handlingRainer Gerhards2011-06-161-1/+1
| | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=270 (not yet confirmed!)
* | | | bugfix(minor): improper template function call in syslogd.cRainer Gerhards2011-04-191-1/+1
| | | |
* | | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-03-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | | | fixed a regression of last patch and some cleanupRainer Gerhards2011-03-161-1/+1
| | | | |
* | | | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-03-081-0/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tests/Makefile.am tools/syslogd.c
| * | | | bugfix(kind of): tell users that config graph can currently not be generatedRainer Gerhards2011-03-081-0/+5
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=232
* | | | | cosmetic: removing commented-out testing aidRainer Gerhards2011-02-251-1/+0
| | | | |
* | | | | bugfix (minor): warning message suggested invalid compatibility modeRainer Gerhards2011-02-221-1/+1
| | | | |
* | | | | cleanup: no longer parameter in iminternal system removedRainer Gerhards2011-02-161-3/+2
| | | | |
* | | | | fixed some compile issues in recent systemd patchRainer Gerhards2011-02-111-1/+1
| | | | |