casra-developers commented on pull request #16110:
URL: https://github.com/apache/airflow/pull/16110#issuecomment-953771845


   @Anurag-Shetty I assume this is because Windows does not support ":" in 
filenames and folder paths. If you change your configuration to replace them 
with "_" or something else it should work.
   
   In airflow.cfg, change
   ```
   log_filename_template = {{{{ ti.dag_id }}}}/{{{{ ti.task_id }}}}/{{{{ ts 
}}}}/{{{{ try_number }}}}.log
   ```
   to
   ```
   log_filename_template = {{{{ ti.dag_id }}}}/{{{{ ti.task_id }}}}/{{{{ ts | 
replace(":", "_") }}}}/{{{{ try_number }}}}.log
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to