You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Sandy Foley <sa...@verndale.com> on 2016/08/25 13:23:10 UTC

Unable to read Zookeeper logs - Windows

I am using the following command in the Zookeeper 3.4.6 root directory and am receiving this error:  Error: Could not find or load main class org.apache.zookeeper.server.LogFormatter

java -cp zookeeper-3.4.6.jar:lib/log4j-1.2.16.jar:lib/slf4j-log4j12-1.6.1.jar:lib/slf4j-api-1.6.1.jar org.apache.zookeeper.server.LogFormatter log/version-2/log.100000001

The referenced lib items are in the lib folder.
The log is located in the log/version-2 location.

I am using Windows (DOS cmd prompt) to run this.
Is there anything else I have to do to be able to read the log files?
Or is there a Windows log reader?

Thank you.