Skip to content

alembic Logging #30562

@geekykayaker

Description

@geekykayaker

Apache Airflow version

2.5.3

What happened

When I call the airflow initdb function, it outputs these lines to the log

INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.

What you think should happen instead

There should be a mechanism to disable these logs, or they should just be set to WARN by default

How to reproduce

Set up a new postgres connection and call:

from airflow.utils.db import initdb
initdb()

Operating System

MacOS

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions