Project

General

Profile

Actions

Bug #57049

closed
PD PD

cluster logging does not adhere to mon_cluster_log_file_level

Bug #57049: cluster logging does not adhere to mon_cluster_log_file_level

Added by Prashant D over 4 years ago. Updated 3 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
2026-08-29T14:20:05+00:00

Description

Even after setting mon_cluster_log_file_level to info or less verbose level, we are still seeing debug logs are getting logged to the cluster log file.

$ ceph config set mon mon_cluster_log_file_level warn

cluster log file :

2022-08-05T11:28:00.097804-0400 osd.2 (osd.2) 13 : cluster [DBG] 2.8 scrub ok
2022-08-05T11:28:00.258964-0400 mon.a (mon.0) 182 : audit [INF] from='mgr.4110 10.74.128.231:0/467438' entity='mgr.x' cmd='[{"prefix": "osd pool set", "pool": "cephfs.a.meta", "var": "pgp_num_actual", "val": "8"}]': finished
2022-08-05T11:28:00.259025-0400 mon.a (mon.0) 183 : cluster [DBG] osdmap e37: 3 total, 3 up, 3 in
2022-08-05T11:28:01.266884-0400 mon.a (mon.0) 184 : cluster [DBG] osdmap e38: 3 total, 3 up, 3 in
2022-08-05T11:28:01.556299-0400 mgr.x (mgr.4110) 37 : cluster [DBG] pgmap v71: 49 pgs: 2 peering, 47 active+clean; 578 KiB data, 3.0 GiB used, 300 GiB / 303 GiB avail
2022-08-05T11:28:01.863949-0400 osd.0 (osd.0) 9 : cluster [DBG] 3.9 scrub starts
2022-08-05T11:28:01.870440-0400 osd.0 (osd.0) 10 : cluster [DBG] 3.9 scrub ok
2022-08-05T11:28:01.940313-0400 osd.1 (osd.1) 14 : cluster [DBG] 3.4 scrub starts
2022-08-05T11:28:01.946881-0400 osd.1 (osd.1) 15 : cluster [DBG] 3.4 scrub ok
2022-08-05T11:28:02.821282-0400 osd.0 (osd.0) 11 : cluster [DBG] 3.1 scrub starts
2022-08-05T11:28:02.827805-0400 osd.0 (osd.0) 12 : cluster [DBG] 3.1 scrub ok
2022-08-05T11:28:03.557303-0400 mgr.x (mgr.4110) 38 : cluster [DBG] pgmap v72: 49 pgs: 2 peering, 47 active+clean; 578 KiB data, 3.0 GiB used, 300 GiB / 303 GiB avail


Related issues 1 (0 open — 1 closed)

Has duplicate RADOS - Bug #57727: mon_cluster_log_file_level option doesn't take effectDuplicatePrashant D

Actions

PD Updated by Prashant D over 4 years ago Actions #1

  • Pull request ID set to 47480

PD Updated by Prashant D over 4 years ago Actions #2

  • Status changed from New to Fix Under Review

PD Updated by Prashant D about 4 years ago Actions #3

  • Pull request ID changed from 47480 to 47502

PD Updated by Prashant D about 4 years ago Actions #4

I had a PR#47480 opened for this issue but closed it in favor of PR#47502. The PR#47502 addresses this issue along with handling of the cluster logging to external entities according to cluster log level set.

ID Updated by Ilya Dryomov about 4 years ago Actions #5

  • Has duplicate Bug #57727: mon_cluster_log_file_level option doesn't take effect added

ID Updated by Ilya Dryomov about 4 years ago Actions #6

  • Regression changed from No to Yes

RZ Updated by Radoslaw Zarzynski about 4 years ago Actions #7

  • Status changed from Fix Under Review to Duplicate

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Pull request ID deleted (47502)
  • Upkeep Timestamp set to 2026-08-29T14:20:05+00:00
Actions

Also available in: PDF Atom