Hi Sandy Foley, I think you are using wrong separator. Use of ; instead of : will solve the problem Try 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
-Arshad -----Original Message----- From: Sandy Foley [mailto:[email protected]] Sent: 25 August 2016 18:29 To: [email protected] Subject: 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? Thank you.
