Skip to main content

Installation

The next tag tracks the Elysia 2 open beta. For Elysia 1.4, install logixlysia from the default latest tag instead.

Basic Usage

Request context

Accumulate fields during a request; they are merged into the automatic access log:
See Request context for details.

Presets

Explicit config overrides preset defaults. Details: Presets.

Configuration

Basic Options

Custom Log Format

Customize log messages using placeholders:
Available placeholders:

Log Filtering

Filter logs by level, status, or method:

Pino Integration

Logixlysia is powered by Pino. Access the Pino instance directly:
Configure Pino options:
Learn more in the Pino Integration guide.

File Logging

Save logs to files:
See File Logging and Log Rotation for details.

Output Control

Control where logs are sent:

Error Handling

Logixlysia automatically captures and logs errors:
Errors are automatically logged with stack traces and request details.

Examples

Production Setup

Development Setup