diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:14:01 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:14:01 +0000 |
commit | 8e73249c4d2ac61e5b6016a2b736bf14cdeb627b (patch) | |
tree | ea46f980066a7869cb5a8fcee48ef4150af8f7e7 | |
parent | a14121a19cfbd867442c66eab6c47d892e00c6a8 (diff) | |
download | rsyslog-8e73249c4d2ac61e5b6016a2b736bf14cdeb627b.tar.gz rsyslog-8e73249c4d2ac61e5b6016a2b736bf14cdeb627b.tar.xz rsyslog-8e73249c4d2ac61e5b6016a2b736bf14cdeb627b.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
@@ -4,6 +4,9 @@ Version 3.11.1 (rgerhards), 2008-02-?? input module - applied documentation fix by Michael Biebl -- many thanks! - bugfix: immark did not have MARK flags set... +- 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 3.11.0 (rgerhards), 2008-01-31 - implemented queued actions @@ -2411,7 +2411,7 @@ die(int sig) if (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); @@ -3266,7 +3266,7 @@ init(void) */ snprintf(bufStartUpMsg, sizeof(bufStartUpMsg)/sizeof(char), " [origin software=\"rsyslogd\" " "swVersion=\"" VERSION \ - "\" x-pid=\"%d\"] restart", + "\" x-pid=\"%d\" x-info=\"http://www.rsyslog.com\"] restart", (int) myPid); logmsgInternal(LOG_SYSLOG|LOG_INFO, bufStartUpMsg, ADDDATE); |