aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Farner <wfar...@apache.org>
Subject Re: Log to disk
Date Thu, 18 Sep 2014 15:30:29 GMT
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 <stephan.erb@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message