foundation-logging

Implements structured logging, error tracking, and observability for applications.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cyberpunk042/devops-expert-local-ai --skill foundation-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foundation-logging
Source: https://github.com/cyberpunk042/devops-expert-local-ai/tree/main/.claude/skills/foundation-logging
Command: npx skills add https://github.com/cyberpunk042/devops-expert-local-ai --skill foundation-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up structured logging, error tracking, and basic observability across applications to improve debugging and reliability.

Core Features & Use Cases

  • Structured JSON logs for production, readable logs for development
  • Error tracking hooks and correlation IDs for traceability
  • Lightweight observability with log levels and sinks

Quick Start

Start by enabling basic logging features in your app with a minimal configuration.

Frequently Asked Questions about foundation-logging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement structured logging and observability across microservices?

You can implement structured logging by configuring standardized JSON formats for production and human-readable formats for development. This approach ensures consistent log levels, sinks, and traceability across APIs and background workers.

What is the best way to add correlation IDs for tracing requests in APIs?

Adding correlation IDs involves configuring tracing hooks that propagate unique identifiers across distributed services. This ensures end-to-end traceability for API requests and background workers within your observability stack.

Can I configure different log levels and formats for production and development?

Yes, you can configure distinct log levels and formats for each environment. Production environments use structured JSON logs for parsing, while development environments use human-readable formats to simplify local debugging.

Does this approach work for monitoring background workers and microservices?

Yes, this observability approach applies to monitoring background workers and microservices. It provides standardized log formats, error tracking hooks, and configurable log levels suitable for distributed service architectures.

When do I need structured JSON logs instead of human-readable formats?

You need structured JSON logs instead of human-readable formats when operating production services that require machine parsing, alert-ready dashboards, and automated error tracking. Human-readable formats suit local development debugging.