<div dir="ltr"><div><div><div><div><div>Hi  Gaurav/Kaushal,<br><br></div>Thanks for the help.<br></div>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.<br><br></div>How can I set the  default .so file  as /usr/local/lib/glusterfs ?<br><br></div>Best regards<br></div>JK <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 6:14 PM, Kaushal M <span dir="ltr">&lt;<a href="mailto:kshlmster@gmail.com" target="_blank">kshlmster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Mar 7, 2016 at 3:02 PM, jayakrishnan mm<br>
&lt;<a href="mailto:jayakrishnan.mm@gmail.com">jayakrishnan.mm@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; I am trying  to  get  debug messages while running gluster commands thru&#39;<br>
&gt; CLI.<br>
&gt;<br>
&gt; Steps<br>
&gt; --------<br>
&gt; make clean // for a clean build<br>
&gt;<br>
&gt; 1. ./autogen.sh<br>
&gt; 2. ./configure --enable-debug<br>
<br>
</span>`--enable-debug` sets the following CFLAGS, `-g -O0 -DDEBUG`, which<br>
make the built binaries easier to debug using GDB. This doesn&#39;t enable<br>
any hidden logging features for debugging.<br>
<span class=""><br>
&gt; 3. make<br>
&gt; 4. sudo make install  --  DESTDIR=/<br>
&gt;<br>
&gt; But  I am  unable  to get  any  debug  messages on the console.<br>
&gt; I also  put some  printfs(). That is  also  not giving any output messages.<br>
&gt; Am I missing something ?<br>
<br>
</span>GlusterFS doesn&#39;t dump logs to console. The logs will be dumped to the<br>
relevant log files. For the `gluster` CLI, the log file is<br>
`/var/log/glusterfs/cli.log` for Gluster installed from packages.<br>
To enable debug logs in the log file, use the option<br>
`--log-level=DEBUG` with the CLI command, for eg. `gluster<br>
--log-level=DEBUG volume info`. This works with all GlusterFS builds.<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Best Regards<br>
&gt; JK<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>