[Cephadm] How to disable DEBUG log level in cephadm.log?

Solution Verified - Updated -

Issue

  • How to disable DEBUG log level in cephadm.log file?
  • Cephadm.log repeatedly logs these DEBUG platform metadata facts messages.
2022-11-22 21:43:52,798 7f5aa59dbb80 DEBUG --------------------------------------------------------------------------------
cephadm ['gather-facts']
2022-11-22 21:43:52,820 7f5aa59dbb80 DEBUG /bin/podman: 4.2.0
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: SELinux status:                 enabled
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: SELinuxfs mount:                /sys/fs/selinux
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: SELinux root directory:         /etc/selinux
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Loaded policy name:             targeted
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Current mode:                   enforcing
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Mode from config file:          enforcing
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Policy MLS status:              enabled
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Policy deny_unknown status:     allowed
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Memory protection checking:     actual (secure)
2022-11-22 21:43:52,956 7f5aa59dbb80 DEBUG sestatus: Max kernel policy version:      33
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: SELinux status:                 enabled
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: SELinuxfs mount:                /sys/fs/selinux
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: SELinux root directory:         /etc/selinux
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: Loaded policy name:             targeted
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: Current mode:                   enforcing
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: Mode from config file:          enforcing
2022-11-22 21:43:52,958 7f5aa59dbb80 DEBUG sestatus: Policy MLS status:              enabled

Environment

  • Red Hat Ceph Storage 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content