You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@curator.apache.org by Vikrant Singh <vi...@gmail.com> on 2015/10/30 20:34:22 UTC

Debug Logs for Curator

Hello,
Is there a way I can get debug logs for curator ? In my program I am
creating some ephemeral nodes using curator and they are getting connection
loss quite often.
Zookeeper is looking good and other services running on it does not facing
this issue.
I have zookeeper tick time set as 2 sec , which I believe is quite high and
I should not get so many connection loss.
Any help?
Regards,
Vikrant

Re: Debug Logs for Curator

Posted by Mike Drob <md...@apache.org>.
Depending on which logging framework you are using, you would set
log4j.logger.org.apache.curator=DEBUG or whatever the logback equivalent
would be. Syntax might be slightly off.

On Fri, Oct 30, 2015 at 2:34 PM, Vikrant Singh <vi...@gmail.com>
wrote:

> Hello,
> Is there a way I can get debug logs for curator ? In my program I am
> creating some ephemeral nodes using curator and they are getting connection
> loss quite often.
> Zookeeper is looking good and other services running on it does not facing
> this issue.
> I have zookeeper tick time set as 2 sec , which I believe is quite high
> and I should not get so many connection loss.
> Any help?
> Regards,
> Vikrant
>

Re: Debug Logs for Curator

Posted by Jordan Zimmerman <jo...@jordanzimmerman.com>.
Curator uses SLF4J. So, just configure your logging properties to output debug for Curator.

-Jordan

> On Oct 30, 2015, at 2:34 PM, Vikrant Singh <vi...@gmail.com> wrote:
> 
> Hello,
> Is there a way I can get debug logs for curator ? In my program I am creating some ephemeral nodes using curator and they are getting connection loss quite often.
> Zookeeper is looking good and other services running on it does not facing this issue. 
> I have zookeeper tick time set as 2 sec , which I believe is quite high and I should not get so many connection loss.
> Any help?
> Regards,
> Vikrant