Skip to content
New issue

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

Use logging.WARNING instead of logging.WARN #1548

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alembic/templates/async/alembic.ini.mako
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ keys = console
keys = generic

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

[logger_sqlalchemy]
level = WARN
level = WARNING
handlers =
qualname = sqlalchemy.engine

Expand Down
4 changes: 2 additions & 2 deletions alembic/templates/generic/alembic.ini.mako
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ keys = console
keys = generic

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

[logger_sqlalchemy]
level = WARN
level = WARNING
handlers =
qualname = sqlalchemy.engine

Expand Down
4 changes: 2 additions & 2 deletions alembic/templates/multidb/alembic.ini.mako
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ keys = console
keys = generic

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

[logger_sqlalchemy]
level = WARN
level = WARNING
handlers =
qualname = sqlalchemy.engine

Expand Down
8 changes: 4 additions & 4 deletions alembic/testing/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _sqlite_testing_config(sourceless=False, future=False):
keys = console

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

Expand Down Expand Up @@ -171,7 +171,7 @@ def _multi_dir_testing_config(sourceless=False, extra_version_location=""):
keys = console

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

Expand Down Expand Up @@ -216,7 +216,7 @@ def _no_sql_testing_config(dialect="postgresql", directives=""):
keys = console

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

Expand Down Expand Up @@ -497,7 +497,7 @@ def _multidb_testing_config(engines):
keys = console

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

Expand Down
4 changes: 2 additions & 2 deletions docs/build/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ The file generated with the "generic" configuration looks like::
keys = generic

[logger_root]
level = WARN
level = WARNING
handlers = console
qualname =

[logger_sqlalchemy]
level = WARN
level = WARNING
handlers =
qualname = sqlalchemy.engine

Expand Down
Loading