cBiscuitSurprise commented on PR #34747:
URL: https://github.com/apache/airflow/pull/34747#issuecomment-1747621329

   @vincbeck @eladkal 
   
   We're preserving the "legacy" behavior by default, so no new information 
will be logged. Customers can "opt-in" to the new behavior by setting the 
configuration `cloudwatch_task_handler_json_serializer` to 
`"airflow.providers.amazon.aws.log.cloudwatch_task_handler.json_serialize"` (as 
opposed to the default value of 
`"airflow.providers.amazon.aws.log.cloudwatch_task_handler.json_serialize_legacy"`).
   
   I've added tests to illustrate the difference (the first case is the 
default, legacy, behavior and the second case is the opt-in new watchtower 
behavior):
   
   
https://github.com/apache/airflow/blob/d03759e746b7bc4258521ff594706c1779bf07ae/tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py#L179-L183


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to