We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7505b commit 98a1ca9Copy full SHA for 98a1ca9
airflow/utils/log/file_task_handler.py
@@ -52,7 +52,7 @@ def set_context(self, ti):
52
:param ti: task instance object
53
"""
54
local_loc = self._init_file(ti)
55
- self.handler = logging.FileHandler(local_loc)
+ self.handler = logging.FileHandler(local_loc, encoding='utf-8')
56
self.handler.setFormatter(self.formatter)
57
self.handler.setLevel(self.level)
58
0 commit comments