8000 python logging configuration · Issue #21 · justquick/python-varnish · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
python logging configuration #21
Open
@oppianmatt

Description

@oppianmatt

in varnish.py:

import logging

logging.basicConfig(
    level = logging.DEBUG,
    format = '%(asctime)s %(levelname)s %(message)s',
)

Why is it reconfiguring the logger? and why isn't it using the standard: logger = logging.getLogger(name) ?

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

      0