uranusjr opened a new pull request #20435: URL: https://github.com/apache/airflow/pull/20435
Extending #20165 because it turns out tracking just `log_filename_template` is not enough. The LogFilename model is renamed to LogTemplate, and now contains two template fields `filename` (for `log_filename_template`) and `task_prefix` (for `task_log_prefix_template`). The two fields are tracked together when Airflow launches as previously. The custom task log formatter is updated to use the database entry instead of the configuration, similar to the log filename renderer. Since the previous change has not been released, I opted to update the migration in-place instead of creating a new one. Also added some more tests on `task_log_prefix_template`. -- 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]
