logdna
A Python Package for Sending Logs to LogDNA
Decision gist · record as of 2026-08-14
Yes, if you are already a LogDNA customer and need Python logging integration. The package is stable, has low install friction, and no known vulnerabilities. However, dormant maintenance (last release 2023-07-27) means no active bug fixes or updates; verify compatibility with your Python version and LogDNA API before adopting in new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid LogDNA Ingestion Key (obtained from https://app.logdna.com/manage/profile) set as an environment variable or passed directly.
- Low install friction; single runtime dependency (requests).
- Maintenance is dormant—last release was 2023-07-27 with no recent commits.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions.
last release 2023-07-27 (1114 days) · last repo commit 2024-07-23 · 49 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,214 downloads/mo, #14,093 on PyPI
Alternatives
Verify before relying
import logging
from logdna import LogDNAHandler
import os
key = os.environ['LOGDNA_INGESTION_KEY']
log = logging.getLogger('logdna')
log.setLevel(logging.INFO)
handler = LogDNAHandler(key, {'hostname': 'myhost'})
log.addHandler(handler)
log.info('Test message')- Current compatibility with Python 3.10+ (classifiers list only up to 3.9; requires_python field is empty)
- Whether the deprecated include_standard_meta option will actually be removed in a future release
- Real-world performance and reliability of the HTTP ingestion path under high-volume logging
What it is and what it does
logdna is a Python logging handler that bridges the standard library's logging module to LogDNA, a cloud-based log aggregation service. It wraps log records into HTTP requests and sends them to LogDNA's ingestion endpoint, allowing centralized log collection and search across multiple Python applications. The handler integrates as a standard logging.Handler, so you configure it once and then use normal log.info(), log.warning(), etc. calls to send logs to the cloud.
The package supports metadata attachment (custom fields, app names, environments, hostnames), optional searchable metadata indexing, custom log levels, and configurable ingestion endpoints. It depends only on requests for HTTP communication. Configuration can be done programmatically or via Python's fileConfig/dictConfig, making it suitable for Django and other framework integrations.
Use it for
- Aggregate logs from multiple Python services into a single LogDNA dashboard for centralized monitoring.
- Add structured metadata (app name, environment, custom fields) to logs for better filtering and debugging in production.
- Replace local file-based logging with cloud ingestion to avoid disk management and enable real-time log search.
- Integrate LogDNA logging into Django or other framework applications via the logging configuration dictionary.
- Attach request-specific or transaction-specific metadata to log lines for correlation and tracing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already a LogDNA customer and need Python logging integration.
The package is stable, has low install friction, and no known vulnerabilities. However, dormant maintenance (last release 2023-07-27) means no active bug fixes or updates; verify compatibility with your Python version and LogDNA API before adopting in new projects.
Install
logdna on PyPI
Before you install
Low install friction; single runtime dependency (requests). Maintenance is dormant—last release was 2023-07-27 with no recent commits. Repository is not archived but shows no active development.
Requires a valid LogDNA Ingestion Key (obtained from https://app.logdna.com/manage/profile) set as an environment variable or passed directly.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions.
Quickstart
import logging
from logdna import LogDNAHandler
import os
key = os.environ['LOGDNA_INGESTION_KEY']
log = logging.getLogger('logdna')
log.setLevel(logging.INFO)
handler = LogDNAHandler(key, {'hostname': 'myhost'})
log.addHandler(handler)
log.info('Test message')
Verify before relying
- Current compatibility with Python 3.10+ (classifiers list only up to 3.9; requires_python field is empty)
- Whether the deprecated include_standard_meta option will actually be removed in a future release
- Real-world performance and reliability of the HTTP ingestion path under high-volume logging
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Dormant 1,114 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,214 / month, #14,093 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: Logging |
Evidence: logdna-1.18.12-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 › “logdna logging handler”
- logdnaIntegrates Python's standard logging framework with LogDNA's cloud…
- loki-logger-handlerA logging handler that sends Python log messages to Grafana Loki in…
- cloudwatchA Python logging handler that sends log events to AWS CloudWatch,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Logging packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Formats Python logging output as JSON, making logs machine-readable for parsing and ingestion into log aggregation tools.
Install it if you need JSON-formatted logs for aggregation or centralized monitoring.
structlog is a structured logging library that lets you emit logs as dictionaries with flexible output formats (JSON, logfmt, console) and integrates with Python's standard logging or runs standalone.
Install it if your application needs JSON or logfmt output, or if you want to add rich context to logs without string formatting.
Loguru provides a pre-configured logger that replaces Python's standard logging with a simpler, zero-boilerplate interface for writing log messages to stderr, files, or custom handlers.
Install it if you want logging to feel natural but with the power, structure that production code needs.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
wandb is a machine learning experiment tracking and visualization platform that logs metrics, hyperparameters, datasets, and models to a centralized dashboard for monitoring and comparing training runs.
Install it if you need centralized experiment tracking, comparison, and visualization for machine learning projects; skip it if you prefer local-only logging or have…
See also google-cloud-logging · google-cloud-appengine-logging · azure-monitor-ingestion · JSON-log-formatter · jsonformatter · google-cloud-bigquery-logging · opentelemetry-instrumentation-logging · minilog · logging-tree · flake8-logging