uranusjr commented on code in PR #23821:
URL: https://github.com/apache/airflow/pull/23821#discussion_r877712265
##########
RELEASE_NOTES.rst:
##########
@@ -131,6 +131,13 @@ If you are happy with the new config values you should
*remove* the setting in `
If you have customized the templates you should ensure that they contain ``{{
ti.map_index }}`` if you want to use dynamically mapped tasks.
+If after upgrading you find your task logs are no longer accessible, try
adding a row in the ``log_template`` table with ``id=0``
+containing your previous ``log_id_template`` and ``log_filename_template``.
For example, if you used the defaults in 2.2.5:
+
+.. code-block:: sql
+
+ INSERT INTO log_template VALUES (0, '{{ ti.dag_id }}/{{ ti.task_id }}/{{
ts }}/{{ try_number }}.log', '{dag_id}_{task_id}_{run_id}_{try_number}', NOW());
Review Comment:
Might be a good idea to explicitly name the columns?
--
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]