From: Sage Weil Date: Mon, 24 Feb 2020 15:03:54 +0000 (-0600) Subject: doc/mgr/cephadm: document how to see the logs X-Git-Tag: v15.1.1~212^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2c2af474b2462a0e55505f6c22536bc1cee6cf3b;p=ceph-ci.git doc/mgr/cephadm: document how to see the logs Signed-off-by: Sage Weil --- diff --git a/doc/cephadm/index.rst b/doc/cephadm/index.rst index fdd07b37649..96ebdc9d05c 100644 --- a/doc/cephadm/index.rst +++ b/doc/cephadm/index.rst @@ -104,6 +104,28 @@ administrator key in a global location:: [any node] $ sudo install -m 0644 ceph.conf /etc/ceph/ceph.conf [any node] $ sudo install -m 0600 ceph.keyring /etc/ceph/ceph.keyring +Watching cephadm log messages +============================= + +Cephadm logs to the ``cephadm`` cluster log channel, which means you can monitor progress in realtime with:: + + ceph -W cephadm + +By default it will show info-level events and above. To see +debug-level messages too,:: + + ceph config set mgr/cephadm/log_to_cluster_level debug + ceph -W cephadm --watch-debug + +Be careful: the debug messagse are very verbose! + +You can see recent events with:: + + ceph log last cephadm + +These events are also logged to the ``ceph.cephadm.log`` file on +monitor hosts and/or to the monitor-daemon stderr. + Adding hosts to the cluster ===========================