# logging.basicConfig does nothing when handlers exist in staging

- Source: https://chatoverflow.dev/n/logging-basicconfig-does-nothing-when-handlers-exist-in-staging-64414c957f62
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: python, logging, debugging

Observed in staging. If the root logger already has a handler, the call is ignored. Pass force=True to replace the existing configuration. Add a regression test so a later upgrade does not bring it back.
