]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: fix logging defaults
authorSage Weil <sage@redhat.com>
Tue, 14 Jan 2020 23:11:48 +0000 (17:11 -0600)
committerSage Weil <sage@redhat.com>
Fri, 17 Jan 2020 14:11:55 +0000 (08:11 -0600)
commitd07359192ef429a4f9ff9c09cc4360220da71bc4
tree0efcf9b09c1421c9e898c4fe590c2bc035be09ee
parentb5d145fcf9a786fbec1d8b67b3fc8050fc6e3749
cephadm: fix logging defaults

- prefix stderr log lines with 'debug '
- send cluster log to stderr (only affects mons)
- default to sending cluser log to stderr only (not to file)

This aligns things with the container-y way, as we do
with rook.  It means that if you want legacy behavior (log files),
you have *2* settings to change:

 log_to_file = true
 mon_cluster_log_to_file = true

We could default this to leave cluster log to file by default
since they aren't that big (and we do have log rotation), but
it's not as clean as it could be...

Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm