zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michi Mutsuzaki <mi...@cs.stanford.edu>
Subject Re: Where to check for Zookeeper logs?
Date Fri, 04 Apr 2014 21:27:27 GMT

ZooKeeper uses log4j. You provide a log4j configuration file to
customize where/what to log.


The files under the data directory are transaction log files. They
don't have any log messages in it. ZooKeeper pre-allocates disk space
for transaction log files for efficiency.


On Fri, Apr 4, 2014 at 2:07 PM, chaitanya_r <chaitanya_spring@yahoo.com> wrote:
> I am completely new to Zookeeper and trying to understand where the zookeeper
> maintains its log files.
> On my windows machine I observed a log file called
> "dataDir\version-2\log.1", I tried opening it using Notepad++ and my notepad
> hanged permanently as the file size is very large. Also I see that this file
> is encrypted and not in human readable format, so how to open and read this
> file?
> Also I just started zookeeper server and connected to it using a client then
> create a znode, and this resulted in this "dataDir\version-2\log.1" file
> which is of 64MB, is this normal? Because I just ran very basic commands but
> still it created a file of 64MB.
> --
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/Where-to-check-for-Zookeeper-logs-tp7579737.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message