]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: LogMonitor: add debug message upon logging to a channel's file
authorJoao Eduardo Luis <joao@redhat.com>
Fri, 19 Sep 2014 16:30:59 +0000 (17:30 +0100)
committerJoao Eduardo Luis <joao@redhat.com>
Mon, 22 Sep 2014 16:36:29 +0000 (17:36 +0100)
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
src/mon/LogMonitor.cc

index 422da91ddad223e6ece0d3d56dc5cd9c104d321e..e04c651015bd4159c6f129874dcd72c7bbdaf9e5 100644 (file)
@@ -150,6 +150,9 @@ void LogMonitor::update_from_paxos(bool *need_bootstrap)
       }
 
       string log_file = channels.get_log_file(channel);
+      dout(20) << __func__ << " logging for channel '" << channel
+               << "' to file '" << log_file << "'" << dendl;
+
       if (!log_file.empty()) {
         string log_file_level = channels.get_log_file_level(channel);
         if (log_file_level.empty()) {