Skip to content

Add snippet on how to configure a "split" stream for console #77002

Open

Description

@mariocj89
mannequin
BPO 32821
Nosy @mariocj89
PRs
  • bpo-32821: Add console logging cookbook recipe #5625
  • 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 = None
    created_at = <Date 2018-02-11.17:08:39.188>
    labels = ['3.8', 'docs']
    title = 'Add snippet on how to configure a "split" stream for console'
    updated_at = <Date 2018-02-11.17:11:05.504>
    user = 'https://github.com/mariocj89'

    bugs.python.org fields:

    activity = <Date 2018-02-11.17:11:05.504>
    actor = 'mariocj89'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2018-02-11.17:08:39.188>
    creator = 'mariocj89'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32821
    keywords = ['patch']
    message_count = 1.0
    messages = ['312003']
    nosy_count = 2.0
    nosy_names = ['docs@python', 'mariocj89']
    pr_nums = ['5625']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32821'
    versions = ['Python 3.8']

    Activity

    1. mariocj89 commented on Feb 11, 2018

      mariocj89mannequin
      MannequinAuthor

      As discussed in python-ideas, it would be good to have a recipe on how to configure the logging stack to be able to log ERROR and above to stderr and INFO and below to stdout.

      It was proposed to add it into the cookbook rather than on the standard library. An alternative proposal was a "ConsoleHandler" that would do this by default. (mariocj89@501cfcd)

    2. added
      docs
      on Feb 11, 2018
    3. 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

    No one assigned

      Labels

      3.8 (EOL)docs

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions