| name | sample-logging |
| description | Sets up structured logging for a service using a configurable log level and service name. Produces a logger.config file ready for ingestion by your logging pipeline. Works with any service that reads configuration from a flat config file. |
| version | 1.0.0 |
sample-logging
A reusable logging setup pattern. Substitute {{SERVICE_NAME}} and {{LOG_LEVEL}} before deploying.
Usage
- Fill in
PARAMETERS.md example values for your service.
- Run the dry-run replay harness to verify substitution.
- Copy
assets/templates/logger.config to your service's config directory.
Notes
{{LOG_LEVEL}} must be one of: debug, info, warn, error.
{{SERVICE_NAME}} should be a slug (lowercase, hyphens only).