Skip to contentSkip to conversation

ceph admin command: debuggging

DISCUSSION Andreas Bluemle 3 participants 4 messages Aug 8, 2013 – Aug 12, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

maybe this is the wrong list - but I am looking for logging support for the /usr/bin/ceph adminstration comamand.

This is build from the same source as the ceph daemons are.

For the daemons, logging is controlled for the different comoponents of a daemon on behalf of configuration file directives (e.g. "debug ms" for the message I/O).

Can this be applied to the /usr/bin/ceph command, too? And where would the log file go?

Thanks for any help

Andreas Bluemle

Signature · 6 lines
Andreas Bluemle                     mailto:[email protected]
ITXperts GmbH                       http://www.itxperts.de
Balanstrasse 73, Geb. 08            Phone: (+49) 89 89044917
D-81541 Muenchen (Germany)          Fax:   (+49) 89 89044910

Company details: http://www.itxperts.de/imprint.htm
#1 lore raw

There are a number of subsystems that the clients use, so a number of knobs that matter. The "logging/authentication name" (the type.id name), by default, is 'client.admin'. Some of the relevant logging knobs are ms/monc; of course there are usually effects caused by the daemons too, so the mon/osd logs will contain things triggered by the client.

What sort of things are you looking for specifically?

Quoted 20 lines · Andreas Bluemle

Hi,

maybe this is the wrong list - but I am looking for logging support for the /usr/bin/ceph adminstration comamand.

This is build from the same source as the ceph daemons are.

For the daemons, logging is controlled for the different comoponents of a daemon on behalf of configuration file directives (e.g. "debug ms" for the message I/O).

Can this be applied to the /usr/bin/ceph command, too? And where would the log file go?

Thanks for any help

Andreas Bluemle

#2 lore raw
In reply to Andreas Bluemle
Quoted 6 lines · Andreas Bluemle

Hi,

maybe this is the wrong list - but I am looking for logging support for the /usr/bin/ceph adminstration comamand.

Quoted 8 lines

This is build from the same source as the ceph daemons are.

For the daemons, logging is controlled for the different comoponents of a daemon on behalf of configuration file directives (e.g. "debug ms" for the message I/O).

Can this be applied to the /usr/bin/ceph command, too? And where would the log file go?

You are probably looking for:

--log-to-stderr (make log output go to stderr)
--log-file <filename>

and you can make some noise with

--debug-ms 1
--debug-monc 10

(for example)

sage

#3 lore raw

Hi Sage,

Quoted 21 lines · On Thu, 8 Aug 2013 15:09:27 -0700 (PDT) Sage Weil <[email protected]> wrote:
Quoted 6 lines · Andreas Bluemle

Hi,

maybe this is the wrong list - but I am looking for logging support for the /usr/bin/ceph adminstration comamand.

Quoted 8 lines

This is build from the same source as the ceph daemons are.

For the daemons, logging is controlled for the different comoponents of a daemon on behalf of configuration file directives (e.g. "debug ms" for the message I/O).

Can this be applied to the /usr/bin/ceph command, too? And where would the log file go?

You are probably looking for:

--log-to-stderr (make log output go to stderr)
--log-file <filename>

Quoted 7 lines

and you can make some noise with

--debug-ms 1
--debug-monc 10

(for example)

Thanks; I'll give that a try.

Andreas Bluemle

Quoted 7 lines

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Andreas Bluemle                     mailto:[email protected]
Heinrich Boell Strasse 88           Phone: (+49) 89 4317582
D-81829 Muenchen (Germany)          Mobil: (+49) 177 522 0151