Hi - I'm trying to get logs of Objecter and librados while doing 
operations(read/write) on an rbd image. Here is my ceph.conf:

[global]
        debug_objecter = 20
        debug_rados = 20

[client]
    rbd_cache = false
    log file = /self/ceph/ceph-rbd.log
    debug rbd = 20
    debug objecter = 20
    debug librbd = 20
    debug client = 20

When I do an "rbd list" on the command line, I see the logging info on the 
terminal:

2017-09-29 19:47:24.840912 7febb7e85c40 20 librbd: list 0x7fff9f613f90
2017-09-29 19:47:24.840957 7febb7e85c40 10 librados: read oid=rbd_directory 
nspace=
2017-09-29 19:47:24.840979 7febb7e85c40 10 client.4106.objecter _op_submit op 
0x563f8a93d270
2017-09-29 19:47:24.840987 7febb7e85c40 20 client.4106.objecter _calc_target 
epoch 16 base rbd_directory @0 precalc_pgid 0 pgid 0.0 is_read
2017-09-29 19:47:24.841024 7febb7e85c40 20 client.4106.objecter _calc_target 
target rbd_directory @0 -> pgid 0.30a98c1c

But the same details are not available in the log file mentioned in the conf. 
Is there a config setting I could make, so that I see these details captured in 
the log file?

Thank you.

- Mahati
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to