Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 3. Configuring debug verbosity of Ceph components
You can configure verbosity of Ceph components by enabling or increasing the log debugging for a specific Ceph subsystem from OpenShift Data Foundation. For information about the Ceph subsystems and the log levels that can be updated, see Ceph subsystems default logging level values.
Prerequisites
- Ensure that the OpenShift Data Foundation cluster is installed.
Ensure that the OpenShift Data Foundation command-line interface tool is installed.
Clone the following repository:
$ git clone https://github.com/red-hat-storage/odf-cli.gitChange the directory and build the binary.
$ cd odf-cli/ && make buildUse the binary present in the/bin/ directory to run the commands:
$ ./bin/odf -h
Procedure
Set log level for Ceph daemons:
$ odf set ceph log-level <ceph-subsystem1> <ceph-subsystem2> <log-level>where
ceph-subsystemcan beosd,mds,monormgr.For example,
$ odf set ceph log-level osd crush 20$ odf set ceph log-level mds crush 20$ odf set ceph log-level mon crush 20$ odf set ceph log-level mgr crush 20