Configuring logging at runtime
Configure the logging of Ceph subsystems at system runtime to help troubleshoot any issues that might occur.
Before you begin
- A running IBM Storage Ceph cluster.
- Access to Ceph debugger.
About this task
For more information, see:
Procedure
Activate the Ceph debugging output
dout(), at
runtime.ceph tell TYPE.ID injectargs --debug-SUBSYSTEM VALUE [--NAME VALUE]Replace
as follows:- TYPE with the type of Ceph daemons (
osd,mon, ormds). - ID with a specific ID of the Ceph daemon. Alternatively, use
*to apply the runtime setting to all daemons of a particular type. - SUBSYSTEM with a specific subsystem.
- VALUE with a number from
1to20, where1is terse and20is verbose.
The following example shows setting the log level for the OSD subsystem on the
OSD name
osd.0 to 0 and the memory level to
5.# ceph tell osd.0 injectargs --debug-osd 0/5