[Gluster-users] glusterfs debug build
Gaurav Garg
ggarg at redhat.com
Mon Mar 7 10:01:52 UTC 2016
Hi jayakrishnan,
where do you want to get debug message, in cli logs or glusterd logs or others ?
for getting debug logs at cli side you need to run command by providing "--log-level=DEBUG" option. for eg:
#gluster volume --log-level=DEBUG status
for getting debug logs at glusterd side you need to run glusterd by providing -LDEBUG option. for eg:
#glusterd -LDEBUG
for getting debug logs at server/client side you need to do:
#gluster volume set <VOLNAME> client-log-level/brick-log-level DEBUG
thanks,
~Gaurav
----- Original Message -----
From: "jayakrishnan mm" <jayakrishnan.mm at gmail.com>
To: gluster-users at gluster.org
Sent: Monday, March 7, 2016 3:02:04 PM
Subject: [Gluster-users] glusterfs debug build
Hi
I am trying to get debug messages while running gluster commands thru' CLI.
Steps
--------
make clean // for a clean build
1. ./autogen.sh
2. ./configure --enable-debug
3. make
4. sudo make install -- DESTDIR=/
But I am unable to get any debug messages on the console.
I also put some printfs(). That is also not giving any output messages.
Am I missing something ?
Best Regards
JK
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list