Skip to content

quincy: mon/LogMonitor: Use generic cluster log level config - #57521

Merged
yuriw merged 1 commit into
ceph:quincyfrom
pdvian:wip-65942-quincy
Jul 17, 2024
Merged

yuriw merged 1 commit into
ceph:quincyfrom
pdvian:wip-65942-quincy

Conversation

@pdvian

@pdvian pdvian commented May 16, 2024

Copy link
Copy Markdown
Contributor

@pdvian
pdvian requested a review from a team as a code owner May 16, 2024 15:57
@pdvian pdvian added this to the quincy milestone May 16, 2024
@pdvian pdvian added the core label May 16, 2024
@pdvian
pdvian requested review from badone and rzarzynski May 16, 2024 15:57
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)
@pdvian
pdvian force-pushed the wip-65942-quincy branch from bd63899 to b62a64f Compare May 16, 2024 16:12
@pdvian
pdvian requested a review from sseshasa May 16, 2024 22:10
@ljflores

Copy link
Copy Markdown
Member

jenkins test api

@ljflores

Copy link
Copy Markdown
Member

@yuriw
yuriw merged commit bf94df1 into ceph:quincy Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants