Hi Joao,

2015-12-01 22:34 GMT+08:00 Joao Eduardo Luis <j...@suse.de>:
> On 12/01/2015 09:13 AM, Zhiqiang Wang wrote:
>> Looks like in the current code, the clog generated by OSD and MDS are
>> not sent to MON. When the client subscribes to the log monitor, it
>> won't get the OSD and MDS clogs. It only gets those generated by MON.
>
> Most likely, you need to set 'clog_to_monitors' (or unset it if you
> changed it).

When 'clog_to_monitors' is set, we queue the log entry to LogClient.
However, we only send the log to monitor through the loopback
connection when the LogClient itself is MON. For OSD and MDS, we don't
send the logs even if 'clog_to_monitors' is set.

>
>   -Joao
>
>>
>> 2015-11-30 21:24 GMT+08:00 Sage Weil <s...@newdream.net>:
>>> On Mon, 30 Nov 2015, Wukongming wrote:
>>>> Hi, All
>>>>
>>>>         Does anyone know how to open clog debug?
>>>
>>> It's usually something like
>>>
>>>         monc->clog.debug() << "hi there\n";
>>>
>>> sage
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majord...@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majord...@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to