You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/02 15:15:03 UTC

[jira] [Commented] (AIRFLOW-1611) Customize logging in Airflow

    [ https://issues.apache.org/jira/browse/AIRFLOW-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188303#comment-16188303 ] 

ASF subversion and git services commented on AIRFLOW-1611:
----------------------------------------------------------

Commit 8b4a5039d905d0f47a98aeeafeb33ad0017a7024 in incubator-airflow's branch refs/heads/v1-9-test from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=8b4a503 ]

[AIRFLOW-1611] Customize logging

Change the configuration of the logging to make
use of the python
logging and make the configuration easy
configurable. Some of the
settings which are now not needed anymore since
they can easily
be implemented in the config file.

Closes #2631 from Fokko/AIRFLOW-1611-customize-
logging-in-airflow

(cherry picked from commit 3c3a65a3fe2edbd7eee1d736735194a1ca14962a)
Signed-off-by: Bolke de Bruin <bo...@xs4all.nl>


> Customize logging in Airflow
> ----------------------------
>
>                 Key: AIRFLOW-1611
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1611
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>             Fix For: 1.9.0
>
>
> The current way of loading a custom logging config using the logging_config_path does not work:
> https://codecov.io/gh/Fokko/incubator-airflow/src/master/airflow/settings.py#L180
> Therefore I would like suggest to change this so we can import a logger configuration that is defined in the airflow_local_settings.py using a Python dict. This will mean that the `logging_config_path` is being deprecated. When your define a LOGGIN_CONFIG in a airflow_local_settings.py which is on the PYTHONPATH, then these settings will be loaded automatically.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)