Skip to content

LoggerAdapter objects cannot be nested #75638

Closed

Description

@ambv
BPO 31457
Nosy @vsajip, @ambv, @Mariatta
PRs
  • bpo-31457: Allow for nested LoggerAdapter objects #3551
  • [3.6] bpo-31457: Allow for nested LoggerAdapter objects (GH-3551) #3576
  • bpo-31457: Make the LoggerAdapter.manager property settable #4042
  • [3.6] bpo-31457: Make the LoggerAdapter.manager property settable (GH-4042) #4043
  • bpo-31457: Don't omit inner process() calls with nested LogAdapters #4044
  • [3.6] bpo-31457: Don't omit inner process() calls with nested LogAdapters #4050
  • [3.6] bpo-31457: Don't omit inner process() calls with nested LogAdapters (GH-4044) #6568
  • 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 = 'https://github.com/ambv'
    closed_at = <Date 2017-09-14.17:51:52.625>
    created_at = <Date 2017-09-13.20:15:11.999>
    labels = ['type-bug', '3.7']
    title = 'LoggerAdapter objects cannot be nested'
    updated_at = <Date 2018-04-22.22:00:33.135>
    user = 'https://github.com/ambv'

    bugs.python.org fields:

    activity = <Date 2018-04-22.22:00:33.135>
    actor = 'lukasz.langa'
    assignee = 'lukasz.langa'
    closed = True
    closed_date = <Date 2017-09-14.17:51:52.625>
    closer = 'lukasz.langa'
    components = []
    creation = <Date 2017-09-13.20:15:11.999>
    creator = 'lukasz.langa'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31457
    keywords = ['patch']
    message_count = 8.0
    messages = ['302111', '302175', '302182', '304598', '304599', '304622', '304630', '315631']
    nosy_count = 3.0
    nosy_names = ['vinay.sajip', 'lukasz.langa', 'Mariatta']
    pr_nums = ['3551', '3576', '4042', '4043', '4044', '4050', '6568']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31457'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. ambv commented on Sep 13, 2017

      @ambv
      ContributorAuthor

      LoggerAdapter objects cannot be nested in Python 3 due to their log() and isEnabledFor() methods addressing attributes that are not present on the proxy.

      Adding the missing attributes fixes the issue.

    2. self-assigned this
      on Sep 13, 2017
    3. added
      type-bugAn unexpected behavior, bug, or error
      on Sep 13, 2017
    4. changed the title [-]LoggerAdapter[/-] [+]LoggerAdapter objects cannot be nested[/+] on Sep 13, 2017
    5. ambv commented on Sep 14, 2017

      @ambv
      ContributorAuthor

      New changeset 1bbd482 by Łukasz Langa in branch 'master':
      bpo-31457: Allow for nested LoggerAdapter objects (bpo-3551)
      1bbd482

    6. ambv commented on Sep 14, 2017

      @ambv
      ContributorAuthor

      New changeset 20fa05d by Łukasz Langa (Miss Islington (bot)) in branch '3.6':
      [3.6] bpo-31457: Allow for nested LoggerAdapter objects (GH-3551) (bpo-3576)
      20fa05d

    7. ambv commented on Oct 19, 2017

      @ambv
      ContributorAuthor

      New changeset 0b6a118 by Łukasz Langa in branch 'master':
      bpo-31457: Make the LoggerAdapter.manager property settable (bpo-4042)
      0b6a118

    8. ambv commented on Oct 19, 2017

      @ambv
      ContributorAuthor

      New changeset 537ed75 by Łukasz Langa (Miss Islington (bot)) in branch '3.6':
      [3.6] bpo-31457: Make the LoggerAdapter.manager property settable (GH-4042) (bpo-4043)
      537ed75

    9. ambv commented on Oct 19, 2017

      @ambv
      ContributorAuthor

      New changeset ce9e625 by Łukasz Langa in branch 'master':
      bpo-31457: Don't omit inner process() calls with nested LogAdapters (bpo-4044)
      ce9e625

    10. Mariatta commented on Oct 19, 2017

      @Mariatta
      Member

      New changeset 4d9a8f2 by Mariatta (Miss Islington (bot)) in branch '3.6':
      bpo-31457: Don't omit inner process() calls with nested LogAdapters (GH-4044) (GH-4050)
      4d9a8f2

    11. ambv commented on Apr 22, 2018

      @ambv
      ContributorAuthor

      New changeset 26c289d by Łukasz Langa (Miss Islington (bot)) in branch '3.6':
      bpo-31457: Don't omit inner process() calls with nested LogAdapters (GH-4044) (bpo-6568)
      26c289d

    12. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions