robocorp-log
Automatic trace logging for Python
Decision gist · record as of 2026-08-14
Yes, if you are building Python automation or RPA workflows where failure diagnostics and log readability matter. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it safe to adopt. The main caveat is that it requires setup before importing modules you want to trace and does not support async/await or greenlet; verify those constraints fit your codebase before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Auto-import logging must be configured before importing modules you want to trace; does not support async/await or greenlet.
- Low friction installation with only two runtime dependencies (psutil and tomli).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2026-03-13 (154 days) · last repo commit 2026-07-24 · 646 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 346,216 downloads/mo, #7,357 on PyPI
Alternatives
Verify before relying
pip install robocorp-log
import robocorp.log as log
log.info('Task started')
log.critical('Critical issue found')
log.exception(exception_instance)- Whether the HTML log viewer output is suitable for large-scale automation runs or has performance/size limitations
- Specific performance overhead of the AST-based auto-import hook during module initialization
- Compatibility with popular debugging tools and whether debugger skip configuration is straightforward
What it is and what it does
robocorp-log is a structured logging library designed for Python automation where understanding failure causes is critical. It replaces verbose text-based logging with a compact format that generates an interactive HTML viewer (log.html), reducing disk space while improving readability. The library uses an AST-based pre-import hook to automatically capture execution traces without requiring explicit logging calls throughout your code, though it also provides manual logging APIs (critical, warn, info, debug, exception, html) when needed.
The package is primarily intended to be used through robocorp-tasks, which handles configuration via pyproject.toml. However, it exposes core APIs for suppressing sensitive data, hiding specific variables or methods, and sanitizing HTML content. It supports Python 3.10 through 3.14 and has no known security vulnerabilities. Note that the auto-import mechanism does not support coroutines (async/await, greenlet) and requires logging setup before importing modules you want to trace.
Use it for
- Automated RPA workflows where detailed execution logs help diagnose failures in unattended runs
- Python test suites generating compact, browsable logs instead of large text files for CI/CD pipelines
- Sensitive data handling in automation scripts by automatically redacting variable names or patterns you register
- Interactive debugging of complex automation by viewing structured execution traces in a web browser
- Compliance and audit logging for automation tasks where you need to prove what executed and why it failed
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building Python automation or RPA workflows where failure diagnostics and log readability matter.
The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it safe to adopt. The main caveat is that it requires setup before importing modules you want to trace and does not support async/await or greenlet; verify those constraints fit your codebase before committing.
Install
robocorp-log on PyPI
Before you install
Low friction installation with only two runtime dependencies (psutil and tomli). Actively maintained with recent releases; last commit 2026-07-24. Classified as Beta but in active development.
Requires Python 3.10 or later. Auto-import logging must be configured before importing modules you want to trace; does not support async/await or greenlet.
License in practice
Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install robocorp-log
import robocorp.log as log
log.info('Task started')
log.critical('Critical issue found')
log.exception(exception_instance)
Verify before relying
- Whether the HTML log viewer output is suitable for large-scale automation runs or has performance/size limitations
- Specific performance overhead of the AST-based auto-import hook during module initialization
- Compatibility with popular debugging tools and whether debugger skip configuration is straightforward
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespsutiltomli |
| Maintenance | Actively maintained 154 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 346,216 / month, #7,357 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Logging |
Evidence: robocorp_log-3.1.2-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 › “failure diagnostics logging”
- robocorp-logProvides structured, automatic logging for Python automation with a…
- pydltPyDLT reads and writes AUTOSAR DLT (Diagnostic Log and Trace)…
- cloud-tpu-diagnosticsCollects stack traces and diagnostic data from jobs running on Cloud…
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 robocorp-tasks · robocorp · robocorp-browser · robocorp-workitems · robotframework-stacktrace · lauterbach-trace32-rcl · robocorp-vault · robocorp-storage · Autologging · rpaframework