Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Python logging with loguru, structlog and orjson v1.0.0

Use this resource to set up structured, rotating Python logging for a service or script

New

  • 544 downloads
  • 160 likes
  • 164 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install python-structured-logging

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent configures logging for a service or script: a lightweight version with no dependency, or loguru, structlog and orjson for broader needs. It separates operational logs that a human reads from telemetry that tools can parse, and logs a fingerprint of tokens rather than the token itself. You get a configuration ready to reuse.

Mostly picked by

Updated November 2, 2026

Card for the “Python logging with loguru, structlog and orjson” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: criteria for lightweight or full logging, and the three-concern architecture
  • references/loguru-patterns.md: loguru patterns
  • references/migration-guide.md: migration guide

Good fit for

  • A systemd service writes logs that are hard to use
  • You want JSONL logs you can analyze with jq or DuckDB

Not for

    Tags

    • python
    • logging
    • loguru
    • structlog

    About

    You say

    “Configure logging for my service, with rotation and JSONL output.”

    Card for the “Python logging with loguru, structlog and orjson” skill

    Skill published by terrylica under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to set up structured, rotating Python logging for a service or script
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/evolution-log.md3.2 KB
    • references/logging-architecture.md7.8 KB
    • references/loguru-patterns.md5.4 KB
    • references/migration-guide.md5 KB
    • SKILL.md19.4 KB

    Origin and licence

    Listed unmodified

    Author
    terrylica
    Source
    github.com/terrylica/cc-skills/tree/0ca36f7260a3eb5de13a1b684509c4ecd5fe819b/plugins/devops-tools/skills/python-logging-best-practices
    Licence
    MIT

    Notice

    « python-logging-best-practices » (terrylica, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.