Skip to content

Configuration

Eduard Mishkurov edited this page Jan 15, 2026 · 4 revisions

Configuration (JSON)

logme supports full configuration using a JSON file. This allows defining the entire logging topology without recompiling the application.

What Can Be Configured

  • Channel hierarchy
  • Backends and their parameters
  • Routing rules
  • Error Channel
  • Control server settings
  • Log encryption
  • Severity thresholds

Basic Structure

A configuration file describes a tree of channels. Each channel may define:

  • Name
  • Parent channel
  • Backends
  • Routing rules
  • Severity filters

The configuration can be loaded at startup or reloaded at runtime.

Default Channel

If no configuration file is provided, logme creates a default channel with predefined settings.

When a configuration file is used, the default channel may be explicitly defined or overridden.

JSON configuration

See: JSON Configuration Format

Clone this wiki locally