Project

General

Profile

Actions

Feature #52869

closed

add setting for cephadm log level

Added by Tobias Fischer over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

the cephadm log file under /var/log/ceph/cephadm.log is by default in DEBUG level and can get big quite fast:

-rw------- 1 root ceph 445M Sep 30 09:18 cephadm.log

It also contains redundant/uninteresting entries, e.g.
2021-10-08 09:46:42,766 INFO podman|docker (/usr/bin/docker) is present
2021-10-08 09:46:43,864 DEBUG Could not locate podman: podman not found
2021-10-08 09:46:47,856 DEBUG Could not locate podman: podman not found
2021-10-08 09:48:03,333 DEBUG Could not locate podman: podman not found
2021-10-08 09:48:07,242 DEBUG Could not locate podman: podman not found
2021-10-08 09:49:14,936 DEBUG Could not locate podman: podman not found
2021-10-08 09:49:18,897 DEBUG Could not locate podman: podman not found
2021-10-08 09:50:20,637 DEBUG Could not locate podman: podman not found
2021-10-08 09:50:24,579 DEBUG Could not locate podman: podman not found
2021-10-08 09:51:26,273 DEBUG Could not locate podman: podman not found
2021-10-08 09:51:30,285 DEBUG Could not locate podman: podman not found
2021-10-08 09:52:32,055 DEBUG Could not locate podman: podman not found
2021-10-08 09:52:36,019 DEBUG Could not locate podman: podman not found
2021-10-08 09:53:37,789 DEBUG Could not locate podman: podman not found
2021-10-08 09:53:41,766 DEBUG Could not locate podman: podman not found
2021-10-08 09:54:43,579 DEBUG Could not locate podman: podman not found
2021-10-08 09:54:47,543 DEBUG Could not locate podman: podman not found
2021-10-08 09:55:49,338 DEBUG Could not locate podman: podman not found
2021-10-08 09:55:56,537 DEBUG Could not locate podman: podman not found
2021-10-08 09:56:00,459 DEBUG Could not locate podman: podman not found
2021-10-08 09:57:03,910 DEBUG Could not locate podman: podman not found
2021-10-08 09:57:03,911 INFO podman|docker (/usr/bin/docker) is present
2021-10-08 09:57:05,038 DEBUG Could not locate podman: podman not found
2021-10-08 09:57:08,943 DEBUG Could not locate podman: podman not found
2021-10-08 09:58:21,716 DEBUG Could not locate podman: podman not found
2021-10-08 09:58:25,694 DEBUG Could not locate podman: podman not found

please add an option to set the desired log level to clean up the log and keep the size reasonable. thanks :)

Actions

Also available in: Atom PDF