[Gluster-users] glusterfs debug build

jayakrishnan mm jayakrishnan.mm at gmail.com
Wed Mar 9 05:15:45 UTC 2016


Hi  Gaurav/Kaushal,

Thanks for the help.
The  glusterfsd  daemon links .so files  from
/usr/lib/i386-linux-gnu/glusterfs , but  the  source  install keeps  the
.so files in  /usr/local/lib/glusterfs.

How can I set the  default .so file  as /usr/local/lib/glusterfs ?

Best regards
JK

On Mon, Mar 7, 2016 at 6:14 PM, Kaushal M <kshlmster at gmail.com> wrote:

> On Mon, Mar 7, 2016 at 3:02 PM, jayakrishnan mm
> <jayakrishnan.mm at gmail.com> wrote:
> > 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
>
> `--enable-debug` sets the following CFLAGS, `-g -O0 -DDEBUG`, which
> make the built binaries easier to debug using GDB. This doesn't enable
> any hidden logging features for debugging.
>
> > 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 ?
>
> GlusterFS doesn't dump logs to console. The logs will be dumped to the
> relevant log files. For the `gluster` CLI, the log file is
> `/var/log/glusterfs/cli.log` for Gluster installed from packages.
> To enable debug logs in the log file, use the option
> `--log-level=DEBUG` with the CLI command, for eg. `gluster
> --log-level=DEBUG volume info`. This works with all GlusterFS builds.
>
> >
> > Best Regards
> > JK
> >
> >
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160309/d190d0ff/attachment.html>


More information about the Gluster-users mailing list