* How to open clog debug
@ 2015-11-30 9:21 Wukongming
2015-11-30 13:24 ` Sage Weil
0 siblings, 1 reply; 5+ messages in thread
From: Wukongming @ 2015-11-30 9:21 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Hi, All
Does anyone know how to open clog debug?
---------------------------------------------
wukongming ID: 12019
Tel:0571-86760239
Dept:2014 UIS2 OneStor
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to open clog debug
2015-11-30 9:21 How to open clog debug Wukongming
@ 2015-11-30 13:24 ` Sage Weil
2015-12-01 9:13 ` Zhiqiang Wang
0 siblings, 1 reply; 5+ messages in thread
From: Sage Weil @ 2015-11-30 13:24 UTC (permalink / raw)
To: Wukongming; +Cc: ceph-devel@vger.kernel.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to open clog debug
2015-11-30 13:24 ` Sage Weil
@ 2015-12-01 9:13 ` Zhiqiang Wang
2015-12-01 14:34 ` Joao Eduardo Luis
0 siblings, 1 reply; 5+ messages in thread
From: Zhiqiang Wang @ 2015-12-01 9:13 UTC (permalink / raw)
To: Sage Weil; +Cc: Wukongming, ceph-devel@vger.kernel.org
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.
2015-11-30 21:24 GMT+08:00 Sage Weil <sage@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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to open clog debug
2015-12-01 9:13 ` Zhiqiang Wang
@ 2015-12-01 14:34 ` Joao Eduardo Luis
2015-12-02 2:37 ` Zhiqiang Wang
0 siblings, 1 reply; 5+ messages in thread
From: Joao Eduardo Luis @ 2015-12-01 14:34 UTC (permalink / raw)
To: Zhiqiang Wang, Sage Weil; +Cc: Wukongming, ceph-devel@vger.kernel.org
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).
-Joao
>
> 2015-11-30 21:24 GMT+08:00 Sage Weil <sage@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 majordomo@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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to open clog debug
2015-12-01 14:34 ` Joao Eduardo Luis
@ 2015-12-02 2:37 ` Zhiqiang Wang
0 siblings, 0 replies; 5+ messages in thread
From: Zhiqiang Wang @ 2015-12-02 2:37 UTC (permalink / raw)
To: Joao Eduardo Luis; +Cc: Sage Weil, Wukongming, ceph-devel@vger.kernel.org
Hi Joao,
2015-12-01 22:34 GMT+08:00 Joao Eduardo Luis <joao@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 <sage@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 majordomo@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 majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-12-02 2:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 9:21 How to open clog debug Wukongming
2015-11-30 13:24 ` Sage Weil
2015-12-01 9:13 ` Zhiqiang Wang
2015-12-01 14:34 ` Joao Eduardo Luis
2015-12-02 2:37 ` Zhiqiang Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.