Re: Zookeeper general log or “monitor” command

2018-02-28 Thread Andor Molnar
Hi Zod, I think there's no such thing in ZooKeeper currently other than debug logs. You might want to attach some processing engine to the debug log feed and parse and output data which is important for you into MySQL or Redis database. The downside of this approach is debug logging has

Re: Zookeeper general log or “monitor” command

2018-02-28 Thread Zod
Unfortunately, parsing debug log is no-go since it doesn't print the complete command. I've 2 approached in mind as of now 1. Modify of org.apache.zookeeper.server.LogFormatter to support "tailing". 2. Use ngrep on my local to monitor the network traffic to remote ZK host & port 2181 ​Will get