diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-10-17 05:03:20 -0500 |
---|---|---|
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-10-17 05:28:08 -0500 |
commit | aabb92ef56c4faa8f05487e9fcdf83f1053f1a22 (patch) | |
tree | cc24e994776e565725ea201970d0389c87e2576b /org/openbmc/Associations/server.hpp | |
parent | 93b1b7c4629b5c7f6dcf2950c1536e23ef014abc (diff) | |
download | phosphor-logging-aabb92ef56c4faa8f05487e9fcdf83f1053f1a22.tar.gz phosphor-logging-aabb92ef56c4faa8f05487e9fcdf83f1053f1a22.zip |
phosphor-rsyslog-conf: react to hostname change
The rsyslog client caches the hostname when it starts up (hostname is
included in logs that are streamed out). If someone changes hostname via
REST API for example, the same won't reflect in rsyslog logs at the
server.
Listen to the hostname changed D-Bus signal from systemd, and restart
rsyslogd when this happens. This ensures logs are streamed out with the
updated hostname.
Change-Id: Ied2b401e621314ef7c25e97dc93f86a429fb4077
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'org/openbmc/Associations/server.hpp')
0 files changed, 0 insertions, 0 deletions