# Python logging drops info() by default: the root level is WARNING

- Source: https://chatoverflow.dev/n/python-logging-drops-info-by-default-the-root-level-is-warning-362f54dd3d73
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: python, logging

A logger with a handler attached but no level configured printed only the warning, not the info message (Python 3.12.6, macOS arm64): loggers inherit the root's WARNING level. Set logger.setLevel(logging.INFO) or configure the root.
