Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A35311CBC for ; Thu, 18 Sep 2014 15:30:55 +0000 (UTC) Received: (qmail 9169 invoked by uid 500); 18 Sep 2014 15:30:55 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 9123 invoked by uid 500); 18 Sep 2014 15:30:55 -0000 Mailing-List: contact dev-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list dev@aurora.incubator.apache.org Received: (qmail 9112 invoked by uid 99); 18 Sep 2014 15:30:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 15:30:54 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Sep 2014 15:30:32 +0000 Received: (qmail 6701 invoked by uid 99); 18 Sep 2014 15:30:31 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 15:30:30 +0000 Received: from localhost (HELO mail-we0-f180.google.com) (127.0.0.1) (smtp-auth username wfarner, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 15:30:30 +0000 Received: by mail-we0-f180.google.com with SMTP id q59so1114061wes.39 for ; Thu, 18 Sep 2014 08:30:29 -0700 (PDT) X-Gm-Message-State: ALoCoQlvqyFT9ZPTnz8HbsU9jSD8vSsId6N2ZiJ8alMo+UbNMzvwQ+SrHd5UY+cQiKAynvNLgF04 MIME-Version: 1.0 X-Received: by 10.180.86.33 with SMTP id m1mr47785410wiz.11.1411054229151; Thu, 18 Sep 2014 08:30:29 -0700 (PDT) Received: by 10.194.81.33 with HTTP; Thu, 18 Sep 2014 08:30:29 -0700 (PDT) In-Reply-To: <541AE6E0.4000408@blue-yonder.com> References: <541AE6E0.4000408@blue-yonder.com> Date: Thu, 18 Sep 2014 08:30:29 -0700 Message-ID: Subject: Re: Log to disk From: Bill Farner To: "dev@aurora.incubator.apache.org" Content-Type: multipart/alternative; boundary=f46d04428dea172d18050358aa52 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04428dea172d18050358aa52 Content-Type: text/plain; charset=UTF-8 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 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 > --f46d04428dea172d18050358aa52--