Cephadm disable cluster log to file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey there,

I wanted to disable _all_ logging for, into memory and onto file and
journald, for a cluster deployed using cephadm.
Now I got to deploy ceph with a custom config, but Ceph consistently
is ignoring my log settings and just dumps everything into journal,
creating a huge load on my servers.
I deployed a Proxmox/Ceph cluster previously and there I successfully
disabled logging, but here? No chance.
Attached is the ceph config dump output.
Feb 18 18:55:43 oannes conmon[72953]: audit 2022-02-18T
Feb 18 18:55:43 oannes conmon[72953]: 17:55:43.384399+0000 mon.oannes
(mon.0) 165 :
Feb 18 18:55:43 oannes conmon[72953]: audit [INF] from='mgr.104122 '
entity='mgr.delmak.pauoxs'
Feb 18 18:55:44 oannes conmon[72953]: cluster
2022-02-18T17:55:44.208079+0000 mgr.delmak.pauoxs (mgr.104122) 187 :
cluster [DBG] pgmap v195: 97 pgs: 97 active+clean; 8.2 GiB data, 76
GiB used, 7.7 TiB / 7.7 TiB avail; 853 B/s rd, 75 KiB/s wr, 12 op/s
Feb 18 18:55:44 oannes conmon[72953]:
Feb 18 18:55:47 oannes conmon[72953]: cluster 2022-02-18
Feb 18 18:55:47 oannes conmon[72953]: T17:55:46.208441+0000
mgr.delmak.pauoxs (mgr.104122) 188 : cluster [DBG] pgmap v196: 97 pgs:
97 active+clean; 8.2 GiB data, 76 GiB used, 7.7 TiB / 7.7 TiB avail;
426 B/s rd, 63 KiB/s wr, 8 op/s
Feb 18 18:55:47 oannes conmon[72953]: audit
2022-02-18T17:55:46.548000+0000 mon.belsa (mon.2) 143 : audit [DBG]
from='mgr.104122 10.90.90.3:0/3212172995' entity='mgr.delmak.pauoxs'
cmd=[{"prefix": "config dump", "format": "json"}]: dispatch
Feb 18 18:55:48 oannes conmon[72953]: cluster 2022-02-18T17:
Feb 18 18:55:48 oannes conmon[72953]: 55:48.208793+0000
mgr.delmak.pauoxs (mgr.104122) 189 : cluster [DBG] pgmap v197: 97 pgs:
97 active+clean; 8.2 GiB data, 76 GiB used, 7.7 TiB / 7.7 TiB avail;
426 B/s rd, 63 KiB/s wr, 8 op/s
Feb 18 18:55:51 oannes conmon[72953]: cluster 2022-02-18T
Feb 18 18:55:51 oannes conmon[72953]: 17:55:50.209292+0000
mgr.delmak.pauoxs (mgr.104122) 190 : cluster [DBG] pgmap v198: 97 pgs:
97 active+clean; 8.2 GiB data, 76 GiB used, 7.7 TiB / 7.7 TiB avail;
426 B/s rd, 72 KiB/s wr, 10 op/s
Feb 18 18:55:52 oannes conmon[72953]: audit
2022-02-18T17:55:51.746108+0000 mon.belsa (mon.2) 144 : audit [DBG]
from='mgr.104122 10.90.90.3:0/3212172995' entity='mgr.delmak.pauoxs'
cmd=[{"prefix": "config dump", "format": "json"}]: dispatch
Feb 18 18:55:53 oannes conmon[72953]: cluster
2022-02-18T17:55:52.209640+0000 mgr.delmak.pauoxs (mgr.104122) 191 :
cluster [DBG] pgmap v199: 97 pgs: 97 active+clean; 8.2 GiB data, 76
GiB used, 7.7 TiB / 7.7 TiB avail; 426 B/s rd, 20 KiB/s wr, 3 op/s
Feb 18 18:55:54 oannes conmon[72953]: cluster
2022-02-18T17:55:54.210145+0000 mgr.delmak.pauoxs (mgr.104122) 192 :
cluster [DBG] pgmap v200: 97 pgs: 97 active+clean; 8.2 GiB data, 76
GiB used, 7.7 TiB / 7.7 TiB avail; 853 B/s rd, 25 KiB/s wr, 5 op/s

Did anyone figure out how to disable this annoying debug logging completely?
Configuring the log settings in /var/lib/ceph/fsid/service/config is
no solution, as that gets regenerated once Cephadm makes up its mind
and redeploys a service.

– Jöran
WHO             MASK  LEVEL     OPTION                                 VALUE                                                                                      RO
global                advanced  debug_asok                             0/0
global                advanced  debug_auth                             0/0
global                advanced  debug_buffer                           0/0
global                advanced  debug_client                           0/0
global                advanced  debug_context                          0/0
global                advanced  debug_crush                            0/0
global                advanced  debug_filer                            0/0
global                advanced  debug_filestore                        0/0
global                advanced  debug_finisher                         0/0
global                advanced  debug_heartbeatmap                     0/0
global                advanced  debug_journal                          0/0
global                advanced  debug_journaler                        0/0
global                advanced  debug_lockdep                          0/0
global                advanced  debug_mds                              0/0
global                advanced  debug_mds_balancer                     0/0
global                advanced  debug_mds_locker                       0/0
global                advanced  debug_mds_log                          0/0
global                advanced  debug_mds_log_expire                   0/0
global                advanced  debug_mds_migrator                     0/0
global                advanced  debug_mon                              0/0
global                advanced  debug_monc                             0/0
global                advanced  debug_ms                               0/0
global                advanced  debug_objclass                         0/0
global                advanced  debug_objectcacher                     0/0
global                advanced  debug_objecter                         0/0
global                advanced  debug_optracker                        0/0
global                advanced  debug_osd                              0/0
global                advanced  debug_paxos                            0/0
global                advanced  debug_perfcounter                      0/0
global                advanced  debug_rados                            0/0
global                advanced  debug_rbd                              0/0
global                advanced  debug_rgw                              0/0
global                advanced  debug_throttle                         0/0
global                advanced  debug_timer                            0/0
global                advanced  debug_tp                               0/0
global                basic     log_to_file                            false
global                advanced  mon_cluster_log_file_level             warn
global                advanced  mon_cluster_log_to_file                false
  mgr                 advanced  mgr/cephadm/log_level                  warning
  mgr                 advanced  mgr/cephadm/log_to_cluster             false                                                                                      *
  mgr                 advanced  mgr/cephadm/log_to_cluster_level       warning
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux