logistro
Simple wrapper over logging for a couple basic features
Decision gist · record as of 2026-08-14
Yes, if you want to reduce logging boilerplate and need subprocess stderr capture or structured/human format switching. The package is lightweight with no dependencies and permissively licensed. Aging maintenance status is not a blocker for a stable logging wrapper, but verify debug2 level integration with your existing handlers meets your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last commit 2025-11-12, though the package is relatively new (first release 2024-12-27) and continues to receive updates.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for any project type.
last release 2025-11-01 (286 days) · last repo commit 2025-11-12
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,185,601 downloads/mo, #2,145 on PyPI
Alternatives
Verify before relying
import logistro
logger = logistro.getLogger(__name__)
logger.debug2('verbose output')
logger.info('standard info')
# For subprocesses:
pipe, logger = logistro.getPipeLogger(__name__+"-subprocess")
import subprocess
subprocess.Popen(['command'], stderr=pipe)- Whether debug2 level integrates seamlessly with third-party logging handlers expecting standard Python log levels
- Performance characteristics in high-throughput logging scenarios
What it is and what it does
logistro is a thin wrapper around Python's logging module that adds sensible defaults and a debug2 log level for verbose output. It provides getLogger() to initialize loggers with built-in configuration, getPipeLogger() to capture subprocess stderr directly into the logging system, and CLI flags to control logging behavior at runtime. The package supports both human-readable and JSON-structured output formats and is designed to be thread-safe.
The main use case is reducing boilerplate when setting up logging in Python applications, especially those that spawn subprocesses or need to switch between output formats. It has no external runtime dependencies, making it lightweight to add to any project.
Use it for
- Set up thread-safe logging with sensible defaults in a new Python application without manual basicConfig() calls
- Capture stderr from subprocess.Popen() calls and route them through the standard logging system
- Switch between human-readable and JSON-structured log output via CLI flags in production deployments
- Add a debug2 level for verbose diagnostic output when investigating issues in development
- Integrate logging configuration into argparse-based CLI tools via logistro.parser
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want to reduce logging boilerplate and need subprocess stderr capture or structured/human format switching.
The package is lightweight with no dependencies and permissively licensed. Aging maintenance status is not a blocker for a stable logging wrapper, but verify debug2 level integration with your existing handlers meets your needs.
Install
logistro on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last commit 2025-11-12, though the package is relatively new (first release 2024-12-27) and continues to receive updates.
Requires Python 3.8 or later
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for any project type.
Quickstart
import logistro
logger = logistro.getLogger(__name__)
logger.debug2('verbose output')
logger.info('standard info')
# For subprocesses:
pipe, logger = logistro.getPipeLogger(__name__+"-subprocess")
import subprocess
subprocess.Popen(['command'], stderr=pipe)
Verify before relying
- Whether debug2 level integrates seamlessly with third-party logging handlers expecting standard Python log levels
- Performance characteristics in high-throughput logging scenarios
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 286 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,185,601 / month, #2,145 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: logistro-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “logging wrapper with defaults”
- logistrologistro wraps Python's standard logging module to provide sensible…
- logzerologzero provides pre-configured Python logging to console and/or…
- macwinnie-enhanced-loggingProvides a batteries-included logging setup combining Python's…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also subprocess-multitee · loguru · logmuse · glog · EasyProcess · wurlitzer · multiprocessing-logging · logzero · flake8-logging · verboselogs