--- id: mozlog version: "8.1.0" license: Mozilla Public License 2.0 (MPL 2.0) license_treatment: copyleft maintenance: active --- # mozlog — Robust log handling specialized for logging in the Mozilla universe License: copyleft · Maintenance: active · Downloads: 455.4K/mo ## What it is and what it does mozlog is a Python logging library built for Mozilla's testing and automation infrastructure. It extends standard Python logging with structured output formatting optimized for console display and log aggregation in CI/CD and testing environments. The package integrates with Mozilla-specific tools like blessed, mozterm, mozfile, and mozsystemmonitor to provide unified logging across test runners and automation scripts. The library targets developers working on Mozilla projects or similar large-scale testing systems where consistent, machine-readable log output is essential. It handles both human-readable console formatting and structured data capture, making logs easier to parse and aggregate across distributed test runs. Installation is straightforward with low friction, and it supports Python 3.8 and later. Use it for: - Logging test results and automation output in Mozilla CI/CD pipelines. - Formatting console output for distributed test runners that need structured, parseable logs. - Aggregating logs from multiple test processes in a single, consistent format. - Integrating logging with other Mozilla automation tools via shared dependencies. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides structured logging for Python applications with specialized support for Mozilla testing and automation workflows, handling console output formatting and log aggregation. Yes, if you are working within the Mozilla testing or automation ecosystem. The package is actively maintained, has low install friction, and fills a specific niche for structured logging in Mozilla projects. No, if you need general-purpose Python logging—standard library alternatives are more widely applicable. The copyleft license (MPL 2.0) requires attention if you plan to modify and redistribute the package. ## Install pip install mozlog uv add mozlog poetry add mozlog ## Installing mozlog Before you install: Low install friction with a pure-wheel distribution. Actively maintained as of March 2026 with support across Python 3.8–3.13. Four runtime dependencies (blessed, mozterm, mozfile, mozsystemmonitor) are all Mozilla-ecosystem packages. License in practice: Licensed under Mozilla Public License 2.0 (MPL 2.0), a copyleft license. Derivative works and modifications must be distributed under the same license; use in proprietary projects requires careful review of your distribution model. Quickstart: pip install mozlog import mozlog logger = mozlog.get_default_logger('myapp') logger.info('Test started') Requires Python 3.8 or later. Verify before relying: - Whether the package is actively developed or in maintenance-only mode beyond the 'active' status designation. - Specific logging features and output formats beyond the general 'robust log handling' claim in the summary. ## Package facts - License: Mozilla Public License 2.0 (MPL 2.0) (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 455.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags python logging library, structured log formatting, mozilla test logging, console output handler, automation log aggregation, mozilla-ecosystem, test-logging, structured-output [View on SkillFed](https://skillfed.io/packages/mozlog) · [View on PyPI](https://pypi.org/project/mozlog/)