Skip to content

rp_upload.py should not configure logging #482

Description

@shaperilio

Describe the bug

logging.basicConfig(level=logging.INFO, format=FMT, handlers=[logging.StreamHandler()])

This line causes logging stuff to show-up on screen as long as logging hasn't been configured already before an import runpodcall.

To Reproduce

from logging import getLogger

logger = getLogger(__name__)
logger.info('invisible')
import runpod

logger.info('visible!')

Expected behavior
Nothing should be visible when running the above script. However, because of the aforementioned line, you see

temp.py             :7    2026-03-20 19:28:03,684 visible!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions