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

logging formatter %(lineno)d does not work #44548

Closed
alexpetry mannequin opened this issue Feb 5, 2007 · 3 comments
Closed

logging formatter %(lineno)d does not work #44548

alexpetry mannequin opened this issue Feb 5, 2007 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@alexpetry
Copy link
Mannequin

alexpetry mannequin commented Feb 5, 2007

BPO 1652788
Nosy @vsajip
Files
  • python-logging-2.5-fixed.patch: Patch for the python version included in debian/unstable (2.5-5)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2007-02-16.22:45:53.000>
    created_at = <Date 2007-02-05.23:42:30.000>
    labels = ['library']
    title = 'logging formatter %(lineno)d does not work'
    updated_at = <Date 2007-02-16.22:45:53.000>
    user = 'https://bugs.python.org/alexpetry'

    bugs.python.org fields:

    activity = <Date 2007-02-16.22:45:53.000>
    actor = 'vinay.sajip'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2007-02-05.23:42:30.000>
    creator = 'alex_petry'
    dependencies = []
    files = ['2292']
    hgrepos = []
    issue_num = 1652788
    keywords = []
    message_count = 3.0
    messages = ['31184', '31185', '31186']
    nosy_count = 2.0
    nosy_names = ['vinay.sajip', 'alex_petry']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1652788'
    versions = ['Python 2.5']

    @alexpetry
    Copy link
    Mannequin Author

    alexpetry mannequin commented Feb 5, 2007

    The current line number produced by the module is "1072" which is static over all logging calls. It refers to a the denoted line in logging/init.py

    A possible patch is attached.

    @alexpetry alexpetry mannequin closed this as completed Feb 5, 2007
    @alexpetry alexpetry mannequin added the stdlib Python modules in the Lib dir label Feb 5, 2007
    @alexpetry alexpetry mannequin closed this as completed Feb 5, 2007
    @alexpetry alexpetry mannequin added the stdlib Python modules in the Lib dir label Feb 5, 2007
    @alexpetry
    Copy link
    Mannequin Author

    alexpetry mannequin commented Feb 6, 2007

    File Added: python-logging-2.5-fixed.patch

    @vsajip
    Copy link
    Member

    vsajip commented Feb 16, 2007

    Change checked into trunk, and will be shortly checked into release25-maint and release24-maint.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant