All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@42on.com>
To: huang jun <hjwsm1989@gmail.com>, ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: how to debug librados/librbd in logfile
Date: Thu, 28 Jan 2016 15:41:18 +0100	[thread overview]
Message-ID: <56AA288E.1010205@42on.com> (raw)
In-Reply-To: <CABAwU-YLhiSdD8cbZWHC=8cBeNi_UM2rp3XpJefwWsiszwv6ww@mail.gmail.com>



On 28-01-16 15:33, huang jun wrote:
> hi,all
> I want to get debug log when using librados/librbd,
> set client section in ceph.conf:
> [client]
> debug_rbd = 20
> debug_objecter = 20
> log_file = /var/log/ceph/ceph.rbd.log
> 
> that not work, file "/var/log/ceph/ceph.rbd.log" does not exist at all.
> Any ideas?
> 

Does the user under which you run the client have access to /var/log/ceph?

You might want to try /tmp for a test.

Wido

  reply	other threads:[~2016-01-28 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 14:33 how to debug librados/librbd in logfile huang jun
2016-01-28 14:41 ` Wido den Hollander [this message]
2016-01-28 14:45   ` huang jun
2016-01-28 14:50     ` Haomai Wang
2016-01-28 15:06       ` huang jun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56AA288E.1010205@42on.com \
    --to=wido@42on.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=hjwsm1989@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.