[Gluster-users] Fwd: how debuge dht translator?

Sunil Kumar Heggodu Gopala Acharya sheggodu at redhat.com
Wed Feb 22 11:56:39 UTC 2017


Hi,

gf_msg() function might be helpful here for you.

Ex:
gf_msg ("DEBUG", GF_LOG_INFO, 0,0,"Test Print: Value = %d",val);

Regards,
Sunil

On Wed, Feb 22, 2017 at 5:16 PM, Tahereh Fattahi <t28.fattahi at gmail.com>
wrote:

>
>
> Hello
> I want to undrestand the operation of dht translator, then i decide to
> debug the code for this aim.
> But i can not do that:(
> I think i should run gdb in client side, but how? I can not mount the file
> system for client from gdb. And if I mount seperately, I can not run any
> glusterfs within gdb
> Is there any way to not using gdb and debug with printf (Iknow it is very
> stupid but is easy) and see the serult in the terminal?
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170222/1a5e5f30/attachment.html>


More information about the Gluster-users mailing list