Apache Airflow:控制日志记录[禁用/调整日志记录级别] [英] Apache Airflow: Control over logging [Disable/Adjust logging level]

查看:340
本文介绍了Apache Airflow:控制日志记录[禁用/调整日志记录级别]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用通过pip安装的Airflow 1.7.1.3

I am using Airflow 1.7.1.3 installed using pip

我想将调度程序正在执行的工作流的日志记录限制为错误级别。除了在settings.py文件中设置日志文件位置外,找不到任何内容。

I would like to limit the logging to ERROR level for the workflow being executed by the scheduler. Could not find anything beyond setting log files location in the settings.py file.

此外,在线资源还引导我进入了这个Google网上论坛讨论此处,但此处的信息也不多

Also the online resources led me to this google group discussion here but not much info here as well

是否知道如何控制Airflow中的日志记录?

推荐答案

日志记录功能及其配置将被更改在1.9版中,该提交

The logging functionality and its configuration will be changed in version 1.9 with this commit

这篇关于Apache Airflow:控制日志记录[禁用/调整日志记录级别]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆