python-logging-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill recommends standard Python packages including
loguru,orjson, andstructlogfor production logging. It also references well-known services and repositories such as OpenTelemetry (OTel), Pydantic Logfire, and official documentation for established projects. These are documented as recommended dependencies for professional development environments. - [COMMAND_EXECUTION]: The skill describes the use of common command-line utilities for log analysis, such as
jq,duckdb,journalctl,lnav, and Simon Willison'sllmCLI. These tools are standard for the use case and do not involve suspicious or automated execution of untrusted commands. - [SAFE]: The skill explicitly promotes security best practices, such as token fingerprinting to avoid logging sensitive data and the use of redaction filters as a defense-in-depth measure. The provided code snippets are functional templates for local logging and do not contain hidden malicious logic, exfiltration patterns, or obfuscation.
Audit Metadata