]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: downgrade "scrub ok" message to debug.
authorJohn Spray <john.spray@redhat.com>
Tue, 8 Aug 2017 18:36:03 +0000 (19:36 +0100)
committerSage Weil <sage@redhat.com>
Wed, 9 Aug 2017 02:28:31 +0000 (22:28 -0400)
This hides lines like:
[INF]  scrub ok on 0,1,2: ScrubResult(keys {pgmap_pg=13} crc {pgmap_pg=2458062599})

from the normal cluster log views.

Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f394ca0bad248e05665a912558382ca2ea560a91)

src/mon/Monitor.cc

index dabfc998ba72b3380d8e1e475c7c7aba602ac93d..06794ebabc3c52af5212c17b383f038c25842801 100644 (file)
@@ -5305,7 +5305,7 @@ void Monitor::scrub_check_results()
     }
   }
   if (!errors)
-    clog->info() << "scrub ok on " << quorum << ": " << mine;
+    clog->debug() << "scrub ok on " << quorum << ": " << mine;
 }
 
 inline void Monitor::scrub_timeout()