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 <[email protected]>
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
> [email protected]
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
_______________________________________________
Gluster-users mailing list
[email protected]
http://lists.gluster.org/mailman/listinfo/gluster-users

Reply via email to