From: John Spray Date: Thu, 29 Jun 2017 15:59:53 +0000 (-0400) Subject: mon: make `log` command send messages to default channel X-Git-Tag: v12.1.1~219^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e5c8703e754693701792fbdc9144957c3464abf7;p=ceph-ci.git mon: make `log` command send messages to default channel ...rather than leaving channel blank. This means that people watching the main "cluster" channel will see the log messages sent using `log`. Signed-off-by: John Spray --- diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc index 319196b6c5e..20fc1332763 100644 --- a/src/mon/LogMonitor.cc +++ b/src/mon/LogMonitor.cc @@ -499,6 +499,7 @@ bool LogMonitor::prepare_command(MonOpRequestRef op) le.stamp = m->get_recv_stamp(); le.seq = 0; le.prio = CLOG_INFO; + le.channel = CLOG_CHANNEL_DEFAULT; le.msg = str_join(logtext, " "); pending_summary.add(le); pending_summary.prune(g_conf->mon_log_max_summary);