sqlalchemy / sqlalchemy/alembic

add support for the %(here)s token when using logging.fileConfig in env.py

Open
#509 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Fast-Track feature migration environment
Dominant language
Python
Stars
4.4k
Forks
375
PR merge metrics
No merged PRs in 30d

Description

Migrated issue, originally created by Michael Bayer (@zzzeek)

so that %(here)s can be in the logging config. this is basically a change to env.py.mako.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading env.py.mako and locating how logging.fileConfig is configured. Confirm how the %(here)s token should be made available in the logging configuration, then verify that generated environment files support the token without breaking existing logging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.