Skip to content

Logging to root logger #1078

Description

Describe the bug

The library logs to the root logger. As that's a widely-accepted bad practice, I guess it qualifies as a bug.

logging.error("Error uploading chunk %s", error)

Expected behavior

All log messages should go to module- or package-specific loggers.

How to reproduce

import logging
logging.basicConfig()

# Send a bad batch request

SDK Version

1.3.8

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions