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 [ at ] 821] - Processing ruok command from /
127.0.0.1:50889
2013-08-23 16:26:43,224 [myid:2] - INFO [Thread-373730:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing srvr command from /
127.0.0.1:50890
2013-08-23 16:26:43,225 [myid:2] - INFO [Thread-373731:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing ruok command from /
127.0.0.1:50891
2013-08-23 16:26:43,231 [myid:2] - INFO [Thread-373732:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing srvr command from /
127.0.0.1:50892
2013-08-23 16:26:43,232 [myid:2] - INFO [Thread-373733:NIOServerCnxn [ at ] 1001]
- Closed socket connection for client /127.0.0.1:50892 (no session
established for client)
Thanks!
Andrew
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 [ at ] 821] - Processing ruok command from /
127.0.0.1:50889
2013-08-23 16:26:43,224 [myid:2] - INFO [Thread-373730:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing srvr command from /
127.0.0.1:50890
2013-08-23 16:26:43,225 [myid:2] - INFO [Thread-373731:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing ruok command from /
127.0.0.1:50891
2013-08-23 16:26:43,231 [myid:2] - INFO [Thread-373732:NIOServerCnxn [ at ] 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 [ at ] 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 [ at ] 821] - Processing srvr command from /
127.0.0.1:50892
2013-08-23 16:26:43,232 [myid:2] - INFO [Thread-373733:NIOServerCnxn [ at ] 1001]
- Closed socket connection for client /127.0.0.1:50892 (no session
established for client)
Thanks!
Andrew