Autologging
Autologging makes logging and tracing Python classes easy.
Decision gist · record as of 2026-08-14
No. While the package is lightweight and permissively licensed, it has been abandoned since 2019 with no maintenance or security updates. For new projects, consider actively maintained alternatives. For legacy codebases already using it, the lack of updates poses a long-term risk as Python evolves.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last release was 2019-04-20 with no active maintenance or security updates expected.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive). You may use, modify, and distribute this package freely in both open-source and proprietary projects, provided you retain the license notice.
last release 2019-04-20 (2673 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 469,565 downloads/mo, #6,487 on PyPI
Alternatives
Verify before relying
pip install Autologging
import logging
from autologging import logged, traced, TRACE
@traced
@logged
class MyClass:
def my_method(self):
self.__log.info("doing work")
logging.basicConfig(level=TRACE)
obj = MyClass()
obj.my_method()- Whether the package works reliably with Python versions released after 2019
- Whether generator tracing (added in version 1.2.0) is fully stable across modern Python implementations
- Current state of the upstream repository and whether it accepts pull requests or security patches
What it is and what it does
Autologging is a decorator-based library that eliminates boilerplate logging and tracing code in Python classes and functions. It provides two main decorators—`logged` to inject a logger into a class or function, and `traced` to automatically log method calls, returns, and yields—plus a custom TRACE log level that sits below standard logging levels. This separation lets you toggle tracing on and off independently from application logging, write trace records to a separate log file, and use different formatting for trace output, all through standard Python logging facilities.
The library is designed to keep code cleaner by removing manual logging setup and tracing statements. It supports tracing of class methods, static methods, instance methods, module-level functions, and generator iterators. Tracing can be disabled entirely via an environment variable or function call when not needed.
Use it for
- Debug class behavior by automatically logging all method entries, exits, and return values without adding trace statements to every method.
- Separate diagnostic tracing from production application logging, routing trace output to a different handler or file.
- Reduce boilerplate in large codebases by decorating classes once instead of adding logger setup and trace calls throughout.
- Monitor generator function execution by automatically logging yield and stop events for generator iterators.
- Quickly enable or disable all tracing across an application via environment variable without code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While the package is lightweight and permissively licensed, it has been abandoned since 2019 with no maintenance or security updates. For new projects, consider actively maintained alternatives. For legacy codebases already using it, the lack of updates poses a long-term risk as Python evolves.
Install
autologging on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2019-04-20 with no active maintenance or security updates expected.
License in practice
MIT License (permissive). You may use, modify, and distribute this package freely in both open-source and proprietary projects, provided you retain the license notice.
Quickstart
pip install Autologging
import logging
from autologging import logged, traced, TRACE
@traced
@logged
class MyClass:
def my_method(self):
self.__log.info("doing work")
logging.basicConfig(level=TRACE)
obj = MyClass()
obj.my_method()
Verify before relying
- Whether the package works reliably with Python versions released after 2019
- Whether generator tracing (added in version 1.2.0) is fully stable across modern Python implementations
- Current state of the upstream repository and whether it accepts pull requests or security patches
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,673 days since the last release |
| First released | |
| Downloads | 469,565 / month, #6,487 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 LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming 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 :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: IronPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Python :: Implementation :: StacklessTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Logging |
Evidence: Autologging-1.3.2-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 › “automatic logging decorator”
- AutologgingAutologging provides decorators to automatically inject logging and…
- retry2Provides a decorator and function wrapper to automatically retry…
- django-request-loggingA Django middleware that logs HTTP request and response payloads with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also logdecorator · logfury · minilog · decopatch · entrypoint · eliot · codetiming · PySnooper · snoop · autocommand