]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add cli option to enable logging to syslog
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 22 Aug 2023 19:11:35 +0000 (15:11 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 19 Sep 2023 20:17:24 +0000 (16:17 -0400)
commitbb7225f4c43670e5f21b83bd2877da35841de467
tree89c74b443bcbac6a39265d181b0f2b43ccfa5d8a
parent81dedb100bcf47ad967a220ff73fc679fd0d0d6d
cephadm: add cli option to enable logging to syslog

Add the --log-dest option to cephadm. The --log-dest option can be
specified 0, 1 or more times. If unspecified, cephadm will log to
the default location, the log file. If specified one ore more times,
each instance will enable the named logging destination.
Example:

```
cephadm boostrap

cephadm --log-dest=syslog bootstrap

cephadm --log-dest=file bootstrap

cephadm --log-dest=syslog --log-dest=file bootstrap
```

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