]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/LogMonitor: Fix log last 50407/head
authorPrashant D <pdhange@redhat.com>
Tue, 30 Aug 2022 07:29:24 +0000 (03:29 -0400)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Mon, 6 Mar 2023 19:25:04 +0000 (20:25 +0100)
commite5efbb13fe16e408ebda3dbdf4369226f77524e8
treee977d947044862b4279cf8f1fdee6321731c8a80
parent96ccb7a8942ebe28f8bf99e04cd0a1c451943ebf
mon/LogMonitor: Fix log last

The ceph log last command outputs all the cluster
logs generated from logm entries at DBG level,
irrespective of their log level. We must output
cluster logs generated from logm according
to the log level specified in the log last command.

Fixes: https://tracker.ceph.com/issues/57340
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 32e40328fbdece9f6c573c11305ee525823e53c6)
src/mon/LogMonitor.cc