A guide to python isolated logging with StayPresent's dedicated logger — no root logger mutation, what gets logged, and how to configure it.

How StayPresent's Logging Works (Without Breaking Yours)

A surprisingly common way for a third-party package to quietly break your application's logging is by calling logging.basicConfig() somewhere in its own code — which mutates the root logger and can silently change formatting, duplicate output, or override handlers you already configured for your own loggers. StayPresent avoids this entirely through python isolated logging: everything it logs goes through its own dedicated logger, never the root one.

Table of Contents

The Problem with logging.basicConfig()