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....@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
>

Reply via email to