You can use org.apache.log4j.RollingFileAppender which roles at size (Maybe
date, not sure). Example:
http://2min2code.com/articles/log4j_intro/rolling_file_on_size_prop

Or you can use logrotate which is native installed or easy install from you
package manager on most linux distros.


On Fri, Jul 25, 2014 at 6:04 AM, shahab <[email protected]> wrote:

> Thanks Naresh. But I am using the old version, so I should go for log4j
> solution.
>
> best
> /Shahab
>
>
> On Thu, Jul 24, 2014 at 3:47 PM, Naresh Kosgi <[email protected]>
> wrote:
>
>> if you are using .9 version you can edit the cluster.xml file to setup
>> log rotation that works for you.  If older then .9 u can probably do the
>> same with log4j but I never tried this.
>>
>>
>> On Thu, Jul 24, 2014 at 8:24 AM, shahab <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> Out strom topology generates very large number of  worker log files over
>>> time. I just wonder if there is any settings or method in Storm to remove
>>> those log files periodically?
>>>
>>> best,
>>> /Shahab
>>>
>>>
>>
>


-- 
Nick Verbeck - NerdyNick
----------------------------------------------------
NerdyNick.com
Coloco.ubuntu-rocks.org

Reply via email to