Re: Logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 17, 2011 at 4:30 PM, Zenon Panoussis <oracle@xxxxxxxxxxxxxxx> wrote:
>
> Question: what's the "do not log at all" syntax in ceph.conf? I tried
> putting everything on "debug xyz = 0", but ceph (osd in this case) is
> still logging plenty. According to this, I think it shouldn't:

Hi Zenon,

Messages that are output at log level 0 or -1 will always be
displayed. I'm not sure if this message belongs at that log level or
not-- I haven't dealt with the OSD repop code in a while.

In general, I don't think that anyone will ever want to turn off
logging completely. That would be a little bit like running your
server without syslog. It just doesn't happen in the real world. Also,
Ceph is not stable yet, and logs are the main (only?) diagnostic tool
we have for most problems. I guess sometimes there is a core file if
you've set up your system for that.

That being said, we do need to be a lot less verbose in some places.
If you find any log messages you think are mis-prioritized, patches
are welcome!

Colin


>
> # grep debug /etc/ceph/ceph.conf
>        ; logging, for debugging monitor crashes, in order of
>        debug ms = 0
>        debug mon = 0
>        debug paxos = 0
>        debug auth = 0
>        ; mds logging to debug issues.
>        debug ms = 0
>        debug mds = 0
>        debug mds balancer = 0
>        debug mds log = 0
>        debug mds_migrator = 0
>        debug monc = 0
>        ; osd logging to debug osd issues, in order of likelihood of being
>        debug ms = 0
>        debug osd = 0
>        debug filestore = 0
>        debug journal = 0
>
> Log example:
>
> 2011-04-18 01:28:56.787046 7f7976fd8700 osd0 5 pg[1.3d( v 5'186 (5'184,5'186] n=1 ec=2 les=5 3/3/2) [0,1] r=0 mlcod 5'184 active+clean]  sending commit on repgather(0x7f794827fb70 applying 5'186 rep_tid=49196 wfack=0 wfdisk= op=osd_op(mds0.1:27067 200.00000058 [write 3241176~1615] 1.fbbd) v2) 0x7f794811b630
>
> Z
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux