You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Stephan Erb <st...@blue-yonder.com> on 2014/09/18 16:06:24 UTC
Log to disk
Hi,
is there a way to tell Aurora to log to disk? The documented parameters
(see aurora-scheduler --help) seem to do nothing.
AURORA_FLAGS=(
...
-vlog=INFO
-log_dir=/var/log/aurora
)
Thanks,
Stephan
Re: Log to disk
Posted by Stephan Erb <st...@blue-yonder.com>.
Ok, thanks.
On Do 18 Sep 2014 17:30:29 CEST, Bill Farner wrote:
> Unfortunately, that log_dir argument comes from a third-party library, and
> doesn't do what you want (i'd happily accept a bug to remove it, as it's
> irrelevant to us).
>
> The best way is to pipe stderr and stdout to a file, and let logrotate deal
> with that file. A big upside to this approach is that you can use this
> strategy for all your applications*.
>
>
> * not all applications handle SIGHUP cleanly, so there are gotchas
>
>
>
> -=Bill
>
> On Thu, Sep 18, 2014 at 7:06 AM, Stephan Erb <st...@blue-yonder.com>
> wrote:
>
>> Hi,
>>
>> is there a way to tell Aurora to log to disk? The documented parameters
>> (see aurora-scheduler --help) seem to do nothing.
>>
>> AURORA_FLAGS=(
>> ...
>> -vlog=INFO
>> -log_dir=/var/log/aurora
>> )
>>
>> Thanks,
>> Stephan
>>
>
--
Stephan Erb
Software Engineer
*Blue Yonder GmbH*
Ohiostrasse 8
D-76149 Karlsruhe
Tel +49 (0)721 383 117 6243
Fax +49 (0)721 383 117 69
stephan.erb@blue-yonder.com <ma...@blue-yonder.com>
www.blue-yonder.com <http://www.blue-yonder.com/>
Registergericht Mannheim, HRB 704547
USt-IdNr. DE DE 277 091 535
Geschäftsführer: Jochen Bossert, Uwe Weiss (CEO)
<http://www.datalympics.com>
Re: Log to disk
Posted by Bill Farner <wf...@apache.org>.
Unfortunately, that log_dir argument comes from a third-party library, and
doesn't do what you want (i'd happily accept a bug to remove it, as it's
irrelevant to us).
The best way is to pipe stderr and stdout to a file, and let logrotate deal
with that file. A big upside to this approach is that you can use this
strategy for all your applications*.
* not all applications handle SIGHUP cleanly, so there are gotchas
-=Bill
On Thu, Sep 18, 2014 at 7:06 AM, Stephan Erb <st...@blue-yonder.com>
wrote:
> Hi,
>
> is there a way to tell Aurora to log to disk? The documented parameters
> (see aurora-scheduler --help) seem to do nothing.
>
> AURORA_FLAGS=(
> ...
> -vlog=INFO
> -log_dir=/var/log/aurora
> )
>
> Thanks,
> Stephan
>