Thanks Susana.
Where do you specify the location of the logs?

-Clay

On Mon, Jan 19, 2015 at 9:09 AM, Susana González <[email protected]> wrote:

> Hi Clay,
>
> I use "logrotate" to rotate the storm worker logs (in my case they are
> generated by default in $STORM_HOME/logs). You can create e.g. a file
> called "storm" in the folder /etc/logrotate.d with something like the
> following:
>
> /opt/storm/logs/worker-*.log {
>     daily
>     rotate 5
>     compress
>     missingok
>     notifempty
>     copytruncate
>     create 640 root root
> }
>
> Regards,
>    Susana
>
> On Mon, Jan 19, 2015 at 12:53 PM, clay teahouse <[email protected]>
> wrote:
>
>> Hi All,
>> Sorry if these questions have asked before. I cannot find the answers.
>>
>> 1) Where do I specify the location of the worker logs? The default seems
>> to be /tmp.
>> 2) How do I rotate these logs?
>>
>> thanks,
>> Clay
>>
>
>

Reply via email to