We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.2 (latest released)
Ubuntu 20
apache-airflow-providers-ftp==2.0.1 apache-airflow-providers-http==2.0.1 apache-airflow-providers-imap==2.0.1 apache-airflow-providers-sqlite==2.0.1
Other
pip freeze | grep apache-airflow-providers
I think it's can be fixed by add a UTCFromatter for logger. edit file "airflow/airflow/config_templates/airflow_local_settings.py"
+import logging +import time + +class UTCFormatter(logging.Formatter): + converter = time.gmtime + DEFAULT_LOGGING_CONFIG: Dict[str, Any] = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { - 'airflow': {'format': LOG_FORMAT}, + 'airflow': {'()': UTCFormatter, 'format': LOG_FORMAT},
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Be sure to follow the issue template!
Sorry, something went wrong.
Aleady fixed in #19401.
@uranusjr I try changes on : https://github.com/apache/airflow/pull/19401/files, But it doesn't work for me.
No branches or pull requests
Apache Airflow version
2.2.2 (latest released)
What happened
default_ui_timezone = Asia/Shanghai
default_timezone = Asia/Shanghai
What you expected to happen
How to reproduce
Operating System
Ubuntu 20
Versions of Apache Airflow Providers
apache-airflow-providers-ftp==2.0.1
apache-airflow-providers-http==2.0.1
apache-airflow-providers-imap==2.0.1
apache-airflow-providers-sqlite==2.0.1
Deployment
Other
Deployment details
pip freeze | grep apache-airflow-providers
Anything else
I think it's can be fixed by add a UTCFromatter for logger.
edit file "airflow/airflow/config_templates/airflow_local_settings.py"
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: