How to get RBD client log?
Hi, You can use environment variable to set log level to what you want as below: bash-4.4$ export CEPH_ARGS="--debug-rbd=20 —debug-rgw=20” The following client calls will take it. Ben
2023年2月1日 07:10,Jinhao Hu <jinhaohu@google.com> 写道:
Hi,
How can I collect the logs of the RBD client? _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
When the client is libvirt/librbd/QEMU virtualization, IIRC one must set these values in the hypervisor’s ceph.conf
On Feb 1, 2023, at 11:05, Ruidong Gao <ruidong.gao@gmail.com> wrote:
Hi,
You can use environment variable to set log level to what you want as below: bash-4.4$ export CEPH_ARGS="--debug-rbd=20 —debug-rgw=20”
The following client calls will take it.
Ben
2023年2月1日 07:10,Jinhao Hu <jinhaohu@google.com> 写道:
Hi,
How can I collect the logs of the RBD client? _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Cool, thanks! After I set this config, where can I find the RBD logs? On Wed, Feb 1, 2023 at 8:51 AM Anthony D'Atri <anthony.datri@gmail.com> wrote:
When the client is libvirt/librbd/QEMU virtualization, IIRC one must set these values in the hypervisor’s ceph.conf
On Feb 1, 2023, at 11:05, Ruidong Gao <ruidong.gao@gmail.com> wrote:
Hi,
You can use environment variable to set log level to what you want as below: bash-4.4$ export CEPH_ARGS="--debug-rbd=20 —debug-rgw=20”
The following client calls will take it.
Ben
2023年2月1日 07:10,Jinhao Hu <jinhaohu@google.com> 写道:
Hi,
How can I collect the logs of the RBD client? _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (3)
-
Anthony D'Atri
-
Jinhao Hu
-
Ruidong Gao