]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add support for logging to syslog/journal
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 22 Aug 2023 19:11:16 +0000 (15:11 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 19 Sep 2023 20:17:16 +0000 (16:17 -0400)
commit81dedb100bcf47ad967a220ff73fc679fd0d0d6d
tree8947afe2adcbd41653b6b1decd30d49fce2e1880
parent8707879408190cb81793c1f34de89218ef73904c
cephadm: add support for logging to syslog/journal

Add support to logging.py for persistent logging to syslog and thus to
journald. This is accomplished by switching logging handlers depending
on the log_dest attribute of the context. Setting this value is left
for a future patch.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/logging.py