Apache Airflow:控制日志记录[禁用/调整日志记录级别]

编程入门 行业动态 更新时间:2024-10-27 18:33:27
本文介绍了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:控制日志记录[禁用/调整日志记录级别]

本文发布于:2023-11-24 05:02:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624062.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日志   级别   Apache   Airflow

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!