Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> how to use the Configuration of traceFile

Copy link to this message
Re: how to use the Configuration of traceFile
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



On Sat, Jun 16, 2012 at 7:58 AM, iamct <[EMAIL PROTECTED]> 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.