You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/27 07:03:19 UTC
[GitHub] [airflow] alexvkaam opened a new issue, #26698: airflow 2.4.0 warning about base_log_folder
alexvkaam opened a new issue, #26698:
URL: https://github.com/apache/airflow/issues/26698
### Apache Airflow version
2.4.0
### What happened
Hello
I always try to keep airflow up to date and after each update work out all the warning etc.
so upgrade 2.3.4 results during db upgrade
airflow db upgrade
DB: postgresql+psycopg2://airflow:***@localhost:5432/airflow
Performing upgrade with database postgresql+psycopg2://airflow:***@localhost:5432/airflow
[2022-09-27 08:43:35,472] {db.py:1466} INFO - Creating tables
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
which is fine.
now upgrade 2.4.0 results during db upgrade
airflow db upgrade
DB: postgresql+psycopg2://airflow:***@localhost:5432/airflow
Performing upgrade with database postgresql+psycopg2://airflow:***@localhost:5432/airflow
[2022-09-27 08:08:21,693] {migration.py:204} INFO - Context impl PostgresqlImpl.
[2022-09-27 08:08:21,693] {migration.py:211} INFO - Will assume transactional DDL.
[2022-09-27 08:08:21,705] {db.py:1530} INFO - Creating tables
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
WARNI [airflow.configuration] section/key [core/base_log_folder] not found in config
WARNI [airflow.configuration] section/key [core/base_log_folder] not found in config
the interesting part is that base_log_folder has been moved to [logging] a while ago and correctly is not in [core], so I think this warning is faulty.
### What you think should happen instead
no warning
### How to reproduce
upgrade 2.3.4 to 2.4.0
### Operating System
Ubuntu 20.04.4 LTS (Focal Fossa)
### Versions of Apache Airflow Providers
apache-airflow-providers-common-sql==1.2.0
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-postgres==5.2.1
apache-airflow-providers-sqlite==3.2.1
### Deployment
Other
### Deployment details
standalone linux server, upgrade via
pip3.7 install apache-airflow[postgres,password]==2.4.0 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.4.0/constraints-3.7.txt
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #26698: airflow 2.4.0 warning about base_log_folder
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #26698:
URL: https://github.com/apache/airflow/issues/26698#issuecomment-1264537744
Likely some of your DAGs gets imported and retrieves log_base_folder from core section. Please review your dags and fix it.
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #26698: airflow 2.4.0 warning about base_log_folder
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #26698: airflow 2.4.0 warning about base_log_folder
URL: https://github.com/apache/airflow/issues/26698
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org