kevlubkcm commented on issue #15279:
URL: https://github.com/apache/airflow/issues/15279#issuecomment-909509739


   i am also seeing this error even with apparently the latest versions:
   
   ```
   apache-airflow==2.1.3
   apache-airflow-providers-amazon==2.1.0
   ...
   watchtower==1.0.6
   ...
   
   ```
   [2021-08-31 18:33:50,305] /<home 
dir>/lib/python3.9/site-packages/watchtower/__init__.py:201 WatchtowerWarning: 
Failed to deliver logs: Parameter validation failed:
   Invalid length for parameter logEvents[19].message, value: 0, valid min 
length: 1
   Invalid length for parameter logEvents[21].message, value: 0, valid min 
length: 1
   [2021-08-31 18:33:50,308] /<home 
dir>/lib/python3.9/site-packages/watchtower/__init__.py:205 WatchtowerWarning: 
Failed to deliver logs: None
   ```
   
   it is difficult to debug as the log gets truncated. not sure where the 
blanks are coming from. the underlying `BashOperator` `TaskInstance` should not 
be generating any blank log lines.
   
   is it easy to setup airflow to log to two locations simultaneously?


-- 
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