I changed the logging level in bin/zkEnv.sh from INFO,CONSOLE to WARN,CONSOLE and it seems that fixed the issue.
From: Jordan Zimmerman Sent: Friday, August 23, 2013 5:08 PM To: [email protected] +1 - those connection messages should be DEBUG and not INFO. It looks like there is already a ticket for this: https://issues.apache.org/jira/browse/ZOOKEEPER-912 I've just up-voted it. -Jordan On Aug 23, 2013, at 3:05 PM, Andrej Vladimirovich <[email protected]> wrote: > Hi! > > I am wondering if it is possible to either stop logging to zookeeper.out > or limit the information that is being logged there? > > We use Exhibitor and zookeeper.out file grows very fast taking all > available disk space within a day. > > These are the messages that are being logged: > > 2013-08-23 16:26:43,223 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@821] - Processing ruok command from / > 127.0.0.1:50889 > > 2013-08-23 16:26:43,224 [myid:2] - INFO [Thread-373730:NIOServerCnxn@1001] > - Closed socket connection for client /127.0.0.1:50889 (no session > established for client) > > 2013-08-23 16:26:43,224 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection > from /127.0.0.1:50890 > > 2013-08-23 16:26:43,224 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@821] - Processing srvr command from / > 127.0.0.1:50890 > > 2013-08-23 16:26:43,225 [myid:2] - INFO [Thread-373731:NIOServerCnxn@1001] > - Closed socket connection for client /127.0.0.1:50890 (no session > established for client) > > 2013-08-23 16:26:43,230 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection > from /127.0.0.1:50891 > > 2013-08-23 16:26:43,231 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@821] - Processing ruok command from / > 127.0.0.1:50891 > > 2013-08-23 16:26:43,231 [myid:2] - INFO [Thread-373732:NIOServerCnxn@1001] > - Closed socket connection for client /127.0.0.1:50891 (no session > established for client) > > 2013-08-23 16:26:43,232 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection > from /127.0.0.1:50892 > > 2013-08-23 16:26:43,232 [myid:2] - INFO [NIOServerCxn.Factory: > 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@821] - Processing srvr command from / > 127.0.0.1:50892 > > 2013-08-23 16:26:43,232 [myid:2] - INFO [Thread-373733:NIOServerCnxn@1001] > - Closed socket connection for client /127.0.0.1:50892 (no session > established for client) > > > Thanks! > > Andrew
