Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reef: mon/LogMonitor: Use generic cluster log level config #57495

Open
wants to merge 1 commit into
base: reef
Choose a base branch
from

Conversation

pdvian
Copy link

@pdvian pdvian commented May 16, 2024

backport tracker: https://tracker.ceph.com/issues/65944


backport of #47502
parent tracker: https://tracker.ceph.com/issues/57061

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@pdvian pdvian requested a review from a team as a code owner May 16, 2024 06:47
@pdvian pdvian added this to the reef milestone May 16, 2024
@pdvian pdvian added the core label May 16, 2024
@pdvian pdvian requested review from badone and rzarzynski May 16, 2024 06:48
Copy link
Contributor

@sseshasa sseshasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from the extraneous entries in PendingReleaseNotes.

PendingReleaseNotes Show resolved Hide resolved
We do not control the verbosity of the LogEntry
which is getting logged to stderr, graylog and
journald. This causes excessive flooding of logs
to /var/log, making a filesystem to fill up quickly.
Also we have different config variables namely
mon_cluster_log_file_level and mon_cluster_log_to_syslog_level
to control verbosity at cluster log file and
syslog level respectively. Add a generic cluster log
level config variable which controls cluster log
verbosity for all external entities.

Additionally, this patch addresses the regression of
`mon_cluster_log_file_level` option which doesn't take effect
because of code refactoring of LogMonitor::update_from_paxos
(commit : 7c84e06).

Fixes: https://tracker.ceph.com/issues/57061
Fixes: https://tracker.ceph.com/issues/57049

Signed-off-by: Prashant D <[email protected]>
(cherry picked from commit cb0d4a5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants