zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: how to use the Configuration of traceFile
Date Thu, 21 Jun 2012 05:21:38 GMT
The best way to get access to trace information is by editing the
log4j.properties file - set the threshold appropriately. e.g.

zookeeper.root.logger=TRACE, CONSOLE
zookeeper.console.threshold=TRACE

Regards,

Patrick

On Sat, Jun 16, 2012 at 7:58 AM, iamct <qddxct@gmail.com> wrote:
> wiki said “traceFile
>
>    (Java system property: requestTraceFile)
>
>    If this option is defined, requests will be will logged to a trace file
> named traceFile.year.month.day. Use of this option provides useful debugging
> information, but will impact performance. (Note: The system property has no
> zookeeper prefix, and the configuration variable name is different from the
> system property. Yes - it's not consistent, and it's annoying.)”
>
> but I can not understand how to use it。
> I cant find anything after searching the zookeeper source code 。
> And I use -DrequestTraceFile=true When I started the server,but I can not
> find it is working。
> thanks iamct
>
>
>
>
> --
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/how-to-use-the-Configuration-of-traceFile-tp7577585.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

Mime
View raw message