Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
compendium-v2
Commits
0add5447
Commit
0add5447
authored
1 year ago
by
Bjarke Madsen
Browse files
Options
Downloads
Patches
Plain Diff
Fix migrations messing up logging
parent
0a9f5f0a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compendium_v2/migrations/env.py
+0
-5
0 additions, 5 deletions
compendium_v2/migrations/env.py
with
0 additions
and
5 deletions
compendium_v2/migrations/env.py
+
0
−
5
View file @
0add5447
import
logging
import
logging
from
logging.config
import
fileConfig
from
flask
import
current_app
from
flask
import
current_app
...
@@ -9,10 +8,6 @@ from alembic import context
...
@@ -9,10 +8,6 @@ from alembic import context
# access to the values within the .ini file in use.
# access to the values within the .ini file in use.
config
=
context
.
config
config
=
context
.
config
# Interpret the config file for Python logging.
# This line sets up loggers basically.
if
config
.
config_file_name
is
not
None
:
fileConfig
(
config
.
config_file_name
)
logger
=
logging
.
getLogger
(
'
alembic.env
'
)
logger
=
logging
.
getLogger
(
'
alembic.env
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment