Skip to content

Logger inherits wrong level #217

@Pastinakel

Description

@Pastinakel
import logging
logging.getLogger('socketIO-client').setLevel(logging.INFO)
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s.%(msecs)03d %(levelname)s %(name)s:\t%(message)s', datefmt='%H:%M:%S')
logger = logging.getLogger()

I want my script code DEBUG but the socketIO INFO but those long debug lines from socketIO keep coming. What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions