oslo.log
oslo.log library
Decision gist · record as of 2026-08-14
Yes, if you are building or extending an OpenStack service or application that already uses oslo libraries. The standardized configuration and context-aware logging are valuable in multi-service deployments. No, if you are building standalone applications outside the OpenStack ecosystem—standard Python logging or a general-purpose library like structlog would be simpler. The dependency on 8 oslo packages makes it a commitment to that ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low install friction with a pure-Python wheel.
- Active maintenance with a release 35 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for OpenStack projects.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,009,003 downloads/mo, #4,517 on PyPI
Alternatives
Verify before relying
pip install oslo.log
from oslo import log
log.setup(conf, 'myapp')- Whether context-specific logging features (e.g., resource ID tracking) work out-of-the-box or require additional setup beyond the basic API.
- Performance characteristics when handling high-volume logging in production OpenStack deployments.
What it is and what it does
oslo.log is a standardized logging library built for OpenStack projects. It wraps Python's standard logging module with OpenStack-specific conventions, providing pre-built formatters, handlers, and configuration patterns so that all OpenStack services log consistently. The library also adds context-aware logging—the ability to attach and track request-scoped metadata like resource IDs through log records automatically.
You use it by calling setup() with your application's config object, then logging normally through the standard Python logging API. The library handles the rest: configuration parsing, formatter application, and context propagation. It depends on other oslo libraries (oslo.config, oslo.context, oslo.utils, oslo.serialization, oslo.i18n) and python-dateutil for timestamp handling, so it's most useful in environments already using the oslo ecosystem.
Use it for
- Standardize logging across multiple OpenStack service components to ensure consistent log format and behavior.
- Track request context (tenant ID, user ID, resource ID) automatically through log records without manual threading.
- Configure logging behavior (log levels, handlers, formatters) through oslo.config files shared across OpenStack deployments.
- Integrate custom formatters and handlers specific to OpenStack operational requirements without reimplementing them per service.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or extending an OpenStack service or application that already uses oslo libraries.
The standardized configuration and context-aware logging are valuable in multi-service deployments. No, if you are building standalone applications outside the OpenStack ecosystem—standard Python logging or a general-purpose library like structlog would be simpler. The dependency on 8 oslo packages makes it a commitment to that ecosystem.
Install
oslo-log on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 35 days ago. Depends on 8 runtime packages including oslo.config, oslo.context, and oslo.utils, all part of the same OpenStack library ecosystem.
Requires Python 3.11 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for OpenStack projects.
Quickstart
pip install oslo.log
from oslo import log
log.setup(conf, 'myapp')
Verify before relying
- Whether context-specific logging features (e.g., resource ID tracking) work out-of-the-box or require additional setup beyond the basic API.
- Performance characteristics when handling high-volume logging in production OpenStack deployments.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagespbroslo.configoslo.contextoslo.i18noslo.utilsoslo.serializationpython-dateutildebtcollector |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 1,009,003 / month, #4,517 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslo_log-8.3.0-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 › “openstack logging configuration”
- oslo.logoslo.log provides standardized logging configuration and custom…
- pycadfPyCADF implements the Cloud Auditing Data Federation specification to…
- oslo.serviceoslo.service provides a framework for building and running…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
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.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
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.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also oslo.cache · oslo.config · oslo.metrics · pbr · oslo.reports · oslo.utils · oslotest · oslo.vmware · oslo.upgradecheck · oslo.db