Skip to content
aj-geddes avatar

Application Logging

Structured logging guide for Node.js, Python, Express, Flask, and ELK pipelines with clear do and don't rules.

CCM score
38 of 100
skills.sh installs
504
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers structured JSON logging setup for Node.js with Winston and Python, plus Express and Flask request logging
  • Includes reference guides for ELK stack setup and Logstash configuration for centralized log aggregation and analysis
  • Enforces practices such as request IDs for tracing, log rotation, contextual error logs, and filtering of passwords and secrets
  • Designed for teams setting up application logging, centralized analysis, or auditing application behavior

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill application-logging -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Application Logging

Table of Contents

Overview

Implement comprehensive structured logging with proper levels, context, and centralized aggregation for effective debugging and monitoring.

When to Use

  • Application debugging
  • Audit trail creation
  • Performance analysis
  • Compliance requirements
  • Centralized log aggregation

Quick Start

Minimal working example:

// logger.js
const winston = require("winston");

const logFormat = winston.format.combine(
  winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
  winston.format.errors({ stack: true }),
  winston.format.json(),
);

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the application-logging skill do?

The application-logging skill sets up structured logging across applications, with log aggregation and centralized analysis for debugging and monitoring. It covers Node.js with Winston, Express request logging, Python, Flask, and ELK stack setup.

How do I install the application-logging skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill application-logging -y in your project. Once installed, the application-logging skill lets the agent implement structured JSON logging, request IDs and log rotation.

Where does application-logging stand in the Backend & APIs category?

The application-logging skill is listed in the Backend & APIs category on Claude Marketplaces, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Unlike those, application-logging focuses on logging, log aggregation and ELK stack analysis.

When should I use the application-logging skill?

Use the application-logging skill when setting up application logging, implementing an ELK stack, or analyzing application behavior. It also fits audit trail creation, performance analysis and compliance requirements.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Application Logging

More Backend & APIs