diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:15:03 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:15:03 +0000 |
commit | 886bcc2dec65590dfe893d7d02bd28d480a8e876 (patch) | |
tree | 86f0c7fa935b7cca1195728e80e8700feaabd452 | |
parent | 3896b8c5fe0b0058310a8135660fb74822a89ede (diff) | |
download | rsyslog-886bcc2dec65590dfe893d7d02bd28d480a8e876.tar.gz rsyslog-886bcc2dec65590dfe893d7d02bd28d480a8e876.tar.bz2 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 ;))
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | syslogd.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -2,6 +2,9 @@ Version 2.0.2 STABLE (rgerhards), 2008-02-?? - fixed a bug that could cause invalid string handling via strerror_r varmojfekoj provided the patch - many thanks! +- 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 ;)) --------------------------------------------------------------------------- Version 2.0.1 STABLE (rgerhards), 2008-01-24 - fixed a bug in integer conversion - but this function was never called, @@ -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, |