logging-azure-rest
A python threadded logging handler and service extension for Azure Log Workspace OMS REST API.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2021-06-14) with no maintenance activity. While it has a permissive MIT license and no known vulnerabilities, the lack of updates creates risk for compatibility with modern Python versions, Azure SDK changes, and security patches. High install friction compounds this. For new projects, use an actively maintained Azure logging solution instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires environment variables AZURE_LOG_CUSTOMER_ID, AZURE_LOG_SHARED_KEY, and AZURE_LOG_DEFAULT_NAME to be set before instantiating the handler.
- High install friction.
- Package is abandoned as of 2021-06-14 with no updates since the latest release, creating maintenance risk for compatibility with current Python versions and Azure API changes.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.
last release 2021-06-14 (1887 days) · last repo commit 2021-06-14 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,723,691 downloads/mo, #3,614 on PyPI
Alternatives
Verify before relying
pip install logging-azure-rest
import logging
from logging_azure.handler import AzureLogServiceHandler
handler = AzureLogServiceHandler()
logger = logging.getLogger(__name__)
logger.addHandler(handler)
logger.info('Message to Azure')- Whether requests and injector are actually declared as runtime dependencies, since they appear only in description text and not in the deps.runtime list.
- Current compatibility with modern Azure SDK versions and authentication methods beyond the REST API approach.
- Whether the abandoned status affects compatibility with current Python 3.x releases or Azure API changes.
What it is and what it does
This package extends Python's built-in logging module with a handler that sends logs to Azure Log Analytics Workspace asynchronously. It works by spawning a background thread that collects log records in a queue and periodically flushes them to Azure's REST API in bulk, designed to avoid blocking your application's main execution thread while shipping logs to the cloud.
The handler reads three required environment variables to configure Azure credentials and workspace settings, plus an optional frequency parameter to control how often batched logs are sent. It integrates directly into Python's standard logging configuration, allowing you to route logs to Azure alongside or instead of local handlers, with support for custom formatters to structure the data for Azure Log Analytics queries.
Use it for
- Centralize application logs from Python services running in Azure to a Log Analytics Workspace for monitoring and alerting.
- Ship logs asynchronously without slowing down request handling in web applications or background workers.
- Route only INFO and above logs to Azure while keeping DEBUG logs local, reducing Azure ingestion costs.
- Integrate Azure log shipping into existing Python logging configurations without rewriting log handling code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2021-06-14) with no maintenance activity. While it has a permissive MIT license and no known vulnerabilities, the lack of updates creates risk for compatibility with modern Python versions, Azure SDK changes, and security patches. High install friction compounds this. For new projects, use an actively maintained Azure logging solution instead.
Install
logging-azure-rest on PyPI
Before you install
High install friction. Package is abandoned as of 2021-06-14 with no updates since the latest release, creating maintenance risk for compatibility with current Python versions and Azure API changes.
Requires environment variables AZURE_LOG_CUSTOMER_ID, AZURE_LOG_SHARED_KEY, and AZURE_LOG_DEFAULT_NAME to be set before instantiating the handler.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.
Quickstart
pip install logging-azure-rest
import logging
from logging_azure.handler import AzureLogServiceHandler
handler = AzureLogServiceHandler()
logger = logging.getLogger(__name__)
logger.addHandler(handler)
logger.info('Message to Azure')
Verify before relying
- Whether requests and injector are actually declared as runtime dependencies, since they appear only in description text and not in the deps.runtime list.
- Current compatibility with modern Azure SDK versions and authentication methods beyond the REST API approach.
- Whether the abandoned status affects compatibility with current Python 3.x releases or Azure API changes.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,887 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,723,691 / month, #3,614 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/StableEnvironment :: PluginsIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.7Topic :: Software Development :: Libraries :: Python Modules |
Evidence: logging-azure-rest-1.3.0.tar.gz
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 › “azure log analytics handler”
- logging-azure-restProvides a Python logging handler that asynchronously uploads…
- azure-mgmt-loganalyticsProvides a Python client library for managing Azure Log Analytics…
- azure-loganalyticsProvides a Python client for querying Azure Log Analytics workspaces,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also azure-monitor-ingestion · azure-monitor-events-extension · django-log-formatter-asim · opencensus-ext-azure · logzio-python-handler · applicationinsights · splunk-handler · logger · python-logstash-async · azure-monitor-query