Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 10943200D27 for ; Wed, 25 Oct 2017 23:55:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F059160BDA; Wed, 25 Oct 2017 21:55:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 52F2A1609CE for ; Wed, 25 Oct 2017 23:55:21 +0200 (CEST) Received: (qmail 74161 invoked by uid 500); 25 Oct 2017 21:55:15 -0000 Mailing-List: contact dev-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list dev@airflow.incubator.apache.org Received: (qmail 74148 invoked by uid 99); 25 Oct 2017 21:55:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 21:55:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6C974C46B8 for ; Wed, 25 Oct 2017 21:55:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AbioaXuO2Qtf for ; Wed, 25 Oct 2017 21:55:13 +0000 (UTC) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A632D5F666 for ; Wed, 25 Oct 2017 21:55:12 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id v27so1094213uav.7 for ; Wed, 25 Oct 2017 14:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=u92yj0q4RwiC+qiiBOjdeP45p55OzRjGQkXl1PVVykM=; b=SaKePQotxFG3IkLguWSkOclQKBPbg+U7/wrQ5eqkGBC2SYJH3JvvIBg9sg28ypb4nH C27S3gIC6/J2KYxPpP3/bh/ErEAA77nHGzWKYe2z2zSYGu3nuesbjCxGY4zLC/GcqHDC FAof0vr04+rJf3OAbJrwhNYMdrVcFFncxlP4CqXeQSTTjnm4unA6U4Js1BlKlcpxlzZU cRlu3GHPdDgpPSAi/fWc7A1BUlMzqbFVwp2ImsFfauNso/+Ue3RzN3xCTCnRkEnIzfk0 DPw5Hjdw5x+ac862CNVlDuwQRMqPCf0FslmFdXLJK5T9N3JyFfAa9qLJaNSxYoFWN34p dQOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=u92yj0q4RwiC+qiiBOjdeP45p55OzRjGQkXl1PVVykM=; b=FLXN5xQPGisFH/lo8LrvzhAYgfSDzBS0SGgsBm3+H7GukurY7RnfDDiTRdRTtPivGt +rJPLkIwnKpwXQ0elhp7oYwDb0zhLQirt1z6Dgien7mqgdBhx49rSadXhKrU1JztlEYP 63Ehd1F6yGkKhKK4zTDoOWnERh2BHIT5+VcSetr3AFkqh+LNVi8ctMMtpYf1cwaOE3ST qYxkyhurtTWlOZtwnnH/WsQXXY7nUdkVUM9T0gq6t0dKpw20rHcIZbLB5x2ShlkcQMLw 0rrUlKe6aAV+7GKlx7YSK9Pxna9osbvwE3Elr2sJB4bkmu7TSHiWa8EydeUQ7W2onoKU t84g== X-Gm-Message-State: AMCzsaVubEGHN53UY3gQc7Sd/+/mCt+hjte8VxeBLcs+eo5w6a13q7he VD5BFRenWnafAYL3/WXMHAdu9NPyLH5c9Z/GloA= X-Google-Smtp-Source: ABhQp+SGUop84JFmwSMj0+9G1iUCrK1TvYx1lW/D91IR449DcDOGI1qSK+v/mB/KYmtGntJzYuN1zvrrYS24iW+ybSQ= X-Received: by 10.176.72.226 with SMTP id y31mr2753803uac.23.1508968505479; Wed, 25 Oct 2017 14:55:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: manish ranjan Date: Wed, 25 Oct 2017 21:54:55 +0000 Message-ID: Subject: Re: Airflow always dumps logs to $AIRFLOW_HOME in 1.8.2 To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="001a1149518cbf1713055c661b84" archived-at: Wed, 25 Oct 2017 21:55:22 -0000 --001a1149518cbf1713055c661b84 Content-Type: text/plain; charset="UTF-8" Thanks for the response Daniel. If others could not see my screenshot either, I am pasting the content *base_log_folder = /mnt1/logs* *child_process_log_directory = /mnt1/logs/scheduler* Followed by a restart of airflow-scheduler and webserver (Again I did it as a cautionary measure, may not have been required). But it continued to log the files under * /home/hadoop/airflow/logs/scheduler/. *and I could never get it to log to /mnt location. Any help is appreciated. On Wed, Oct 25, 2017 at 1:47 PM Daniel Huang wrote: > I can't view your screenshot, but note that there are two different configs > for log file path in airflow.cfg. There is core:base_log_folder and > scheduler:child_process_log_directory, the latter being the location of the > scheduler logs. > > On Wed, Oct 25, 2017 at 1:44 PM, manish ranjan > wrote: > > > The airflow version is 1.8.0. Sorry about the typo. > > > > Manish > > > > ~Manish > > > > > > > > On Wed, Oct 25, 2017 at 1:42 PM, manish ranjan > > wrote: > > > >> Hi All, > >> > >> My airflow runs in production on AWS and as it is also the cluster of my > >> Spark Cluster, I tried to redirect the logs to a separate folder > /mnt/xyz > >> However, I always see logs being generated under > >> * /home/hadoop/airflow/logs/scheduler/.* > >> > >> I have already provided this option in airflow.cfg (See screen shot > >> below) and restarted the webserver and scheduler (I am not sure if it > was > >> required, but I did it anyway). > >> > >> > >> > >> Am I doing anything wrong here ? > >> > >> > >> ~Manish > >> > >> > >> > > > --001a1149518cbf1713055c661b84--