logzero
Robust and effective logging for Python 2 and 3
Decision gist · record as of 2026-08-14
Yes, if you need simple logging and accept the maintenance risk. The package is stable and works well for its narrow use case, but the abandoned status means no fixes for compatibility issues, security updates, or dependency conflicts. Suitable for personal projects, scripts, or applications you control fully; risky for production systems or long-term maintenance obligations. Consider actively maintained alternatives if you need ongoing support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency (colorama).
- However, the repository is archived and the last release was in March 2021.
- No active maintenance; bug fixes or compatibility updates are unlikely.
License · maintenance · safety
MIT license (permissive) — MIT license is permissive; you can use, modify, and distribute logzero freely in commercial and private projects without restriction.
last release 2021-03-17 (1976 days) · last repo commit 2022-11-27 · 1,019 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 997,404 downloads/mo, #4,545 on PyPI
Alternatives
Verify before relying
pip install logzero
from logzero import logger
logger.info("hello")
logger.error("error")
import logzero
logzero.logfile("/tmp/logzero-demo.log")
logzero.loglevel(logzero.WARNING)- Whether the package remains compatible with Python versions released after 3.9
- Whether colorama's Windows color support continues to work on modern Windows versions
- Whether JSON logging output format is stable or has known issues with modern json-logger versions
What it is and what it does
logzero is a thin wrapper around Python's standard logging module that provides sensible defaults for console and file logging with minimal boilerplate. It offers colored console output (with Windows support via colorama), rotating file handlers, JSON formatting, and a global default logger accessible as logzero.logger, plus a setup_logger() function for custom loggers. The package is intentionally lightweight—contained in a single file—and handles encoding edge cases robustly.
The package targets developers who want logging without wrestling with the standard library's configuration complexity. It supports Python 2 and 3, and integrates with python-json-logger for structured logging. However, the repository is archived with the last commit on 2022-11-27, meaning no active maintenance, no bug fixes, and no compatibility updates for modern Python releases.
Use it for
- Quick logging setup in scripts or small applications where standard logging config feels like overkill
- Adding colored console output to CLI tools and utilities for better readability during development
- Rotating file logging in long-running services to prevent log files from consuming unlimited disk space
- Structured JSON logging for applications that parse logs with external tools or ship to log aggregation services
- Cross-platform applications needing colored output on Windows without manually configuring colorama
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple logging and accept the maintenance risk.
The package is stable and works well for its narrow use case, but the abandoned status means no fixes for compatibility issues, security updates, or dependency conflicts. Suitable for personal projects, scripts, or applications you control fully; risky for production systems or long-term maintenance obligations. Consider actively maintained alternatives if you need ongoing support.
Install
logzero on PyPI
Before you install
Low install friction with a single runtime dependency (colorama). However, the repository is archived and the last release was in March 2021. No active maintenance; bug fixes or compatibility updates are unlikely.
License in practice
MIT license is permissive; you can use, modify, and distribute logzero freely in commercial and private projects without restriction.
Quickstart
pip install logzero
from logzero import logger
logger.info("hello")
logger.error("error")
import logzero
logzero.logfile("/tmp/logzero-demo.log")
logzero.loglevel(logzero.WARNING)
Verify before relying
- Whether the package remains compatible with Python versions released after 3.9
- Whether colorama's Windows color support continues to work on modern Windows versions
- Whether JSON logging output format is stable or has known issues with modern json-logger versions
Package facts
| License | MIT license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecolorama |
| Maintenance | Abandoned 1,976 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 997,404 / month, #4,545 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: logzero-1.7.0-py2.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 › “colored console logging”
- logzerologzero provides pre-configured Python logging to console and/or…
- hydra-colorlogIntegrates colorlog with Hydra to provide colored logging output for…
- python-simple-loggerProvides a simple logger for console and file output with built-in…
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 jsonformatter · logstash_formatter · python-json-logger · JSON-log-formatter · logging-json · coloredlogs · python-simple-logger · pygtail · minilog · logging-formatter-anticrlf