summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-11 07:15:03 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-11 07:15:03 +0000
commit886bcc2dec65590dfe893d7d02bd28d480a8e876 (patch)
tree86f0c7fa935b7cca1195728e80e8700feaabd452 /syslogd.c
parent3896b8c5fe0b0058310a8135660fb74822a89ede (diff)
downloadrsyslog-886bcc2dec65590dfe893d7d02bd28d480a8e876.tar.gz
rsyslog-886bcc2dec65590dfe893d7d02bd28d480a8e876.tar.xz
rsyslog-886bcc2dec65590dfe893d7d02bd28d480a8e876.zip
added x-info field to rsyslogd startup/shutdown message. Hopefully points
users to right location for further info (many don't even know they run rsyslog ;))
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 883bf00a..2858b863 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3605,7 +3605,7 @@ static void die(int sig)
dbgprintf(" exiting on signal %d\n", sig);
(void) snprintf(buf, sizeof(buf) / sizeof(char),
" [origin software=\"rsyslogd\" " "swVersion=\"" VERSION \
- "\" x-pid=\"%d\"]" " exiting on signal %d.",
+ "\" x-pid=\"%d\" x-info=\"http://www.rsyslog.com\"]" " exiting on signal %d.",
(int) myPid, sig);
errno = 0;
logmsgInternal(LOG_SYSLOG|LOG_INFO, buf, ADDDATE);
@@ -4576,7 +4576,7 @@ static void init(void)
*/
snprintf(bufStartUpMsg, sizeof(bufStartUpMsg)/sizeof(char),
" [origin software=\"rsyslogd\" " "swVersion=\"" VERSION \
- "\" x-pid=\"%d\"][x-configInfo udpReception=\"%s\" " \
+ "\" x-pid=\"%d\" x-info=\"http://www.rsyslog.com\"][x-configInfo udpReception=\"%s\" " \
"udpPort=\"%s\" tcpReception=\"%s\" tcpPort=\"%s\"]" \
" restart",
(int) myPid,