Skip to main content

python-logging-best-practices

Provides best practices for Python logging using loguru and platformdirs, ensuring structured, machine-readable logs.

Install this skill

or
92/100

Security score

The python-logging-best-practices skill was audited on May 12, 2026 and we found 8 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

low line 399

External URL reference

SourceSKILL.md
399- [Health Endpoint Monitoring Pattern](https://learn.microsoft.com/en-us/azure/architecture/patterns/health-endpoint-monitoring) - Microsoft Azure Architecture Center
low line 400

External URL reference

SourceSKILL.md
400- [OWASP Logging Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html) - Security best practices
low line 401

External URL reference

SourceSKILL.md
401- [Write-Ahead Log pattern](https://martinfowler.com/articles/patterns-of-distributed-systems/write-ahead-log.html) - Martin Fowler
low line 402

External URL reference

SourceSKILL.md
402- [DuckDB JSON support](https://duckdb.org/docs/data/json/overview) - SQL analytics on JSONL
low line 403

External URL reference

SourceSKILL.md
403- [lnav](https://lnav.org/) - Terminal log file navigator with SQL
low line 405

External URL reference

SourceSKILL.md
405- [structlog docs](https://www.structlog.org/) - Structured logging for production services
low line 406

External URL reference

SourceSKILL.md
406- [Pydantic Logfire](https://pydantic.dev/logfire) - AI/LLM observability built on OTel
low line 407

External URL reference

SourceSKILL.md
407- [Langfuse](https://langfuse.com/) - Open-source LLM observability (self-hostable)
Scanned on May 12, 2026
View Security Dashboard
Installation guide →