[resolved] How to configurate Zookeper to auto cleanup log files

One Star

[resolved] How to configurate Zookeper to auto cleanup log files

Hi
We've noticed that our server is almost full and the reason is that there are many log files which Zookeeper generates. We've seen on Admin Guide that there is a way to auto-configure it to cleanup daily the old logs, but we don't know how to do it exactly, because we've not found the  zookeeper config file.
http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#sc_maintenance
http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#sc_advancedConfiguration
Please, coud you help us with this issue? how can we configure zooKeeper to delete old logs daily?
Thanks
Cheers
Employee

Re: [resolved] How to configurate Zookeper to auto cleanup log files

Hi,
Unfortunately, we are still using Zookeeper 3.3.6 (patched) in Talend ESB, the new parameters autopurge.snapRetainCount and autopurge.purgeInterval only introduced from Zookeeper 3.4.0. I'm not sure but maybe you have to write scripts to do it currently.
HTH
One Star

Re: [resolved] How to configurate Zookeper to auto cleanup log files

OK
Thanks by your reply xldai
Cheers