Hi,
gf_msg() function might be helpful here for you.gf_msg ("DEBUG", GF_LOG_INFO, 0,0,"Test Print: Value = %d",val);
On Wed, Feb 22, 2017 at 5:16 PM, Tahereh Fattahi <t28.fattahi@xxxxxxxxx> wrote:
HelloI 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 gdbIs 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@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users