]> git.apps.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)
committerJohn Spray <john.spray@redhat.com>
Tue, 8 Aug 2017 18:57:06 +0000 (19:57 +0100)
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>
src/mon/Monitor.cc

index 23d0c96fa159f9e60a7df44fec0e2dbb830b4045..5934e469959f8f0c8a5b7171ddcede7a95d5303d 100644 (file)
@@ -5322,7 +5322,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()