Ceph debugging and logging configuration options
Logging and debugging settings are not required in a Ceph configuration file, but you can override default settings as needed.
The options take a single item that is assumed to be the default for all daemons regardless of channel. For example, specifying "info" is interpreted as "default=info". However, options can also take key/value pairs. For example, "default=daemon audit=local0" is interpreted as "default all to daemon, override audit with local0."
log_fileDescription
The location of the logging file for the cluster.mon_cluster_log_fileDescription The location of the monitor cluster’s log file.
log_max_newDescription
The maximum number of new log files.log_max_recentDescription
The maximum number of recent events to include in a log file.log_flush_on_exitDescription
Determines if Ceph flushes the log files after exit.mon_cluster_log_file_levelDescription
The level of file logging for the monitor cluster. Valid settings include "debug", "info", "sec", "warn", and "error".log_to_stderrDescription
Determines if logging messages appear instderr.err_to_stderrDescription
Determines if error messages appear instderr.log_to_syslogDescription
Determines if logging messages appear insyslog.err_to_syslogDescription
Determines if error messages appear insyslog.clog_to_syslogDescription
Determines ifclogmessages will be sent tosyslog.mon_cluster_log_to_syslogDescription
Determines if the cluster log will be output tosyslog.mon_cluster_log_to_syslog_levelDescription
The level of syslog logging for the monitor cluster. Valid settings include "debug", "info", "sec", "warn", and "error".mon_cluster_log_to_syslog_facilityDescription
The facility generating the syslog output. This is usually set to "daemon" for the Ceph daemons.clog_to_monitorsDescription
Determines ifclogmessages will be sent to monitors.mon_cluster_log_to_graylogDescription
Determines if the cluster will output log messages to graylog.mon_cluster_log_to_graylog_hostDescription
The IP address of the graylog host. If the graylog host is different from the monitor host, override this setting with the appropriate IP address.mon_cluster_log_to_graylog_portDescription
Graylog logs will be sent to this port. Ensure the port is open for receiving data.osd_preserve_trimmed_logDescription
Preserves trimmed logs after trimming.osd_tmapput_sets_uses_tmapDescription
Usestmap. For debug only.osd_min_pg_log_entriesDescription
The minimum number of log entries for placement groups.osd_op_log_thresholdDescription
Number of op log messages to show up in one pass.