Logging
This page introduces the Logging module, explains why it’s useful, and shows how to configure, emit, and route structured log events in KDB-X.
The KDB-X Logging module is a simple, unified logging framework that provides a consistent way to capture structured diagnostics from KDB-X processes. It standardizes how applications emit log events, attaching metadata such as timestamps, severity levels, component names, and optional correlators.
Logs can be formatted as structured JSON and routed dynamically to multiple destinations, including file descriptors, external systems, or cloud-native logging services. Routing rules allow teams to filter, suppress, or forward messages based on context—helping reduce noise and control logging costs. With support for per-component configuration and flexible formatting, the Logging module integrates cleanly into distributed KDB-X deployments and supports effective observability across environments.
See the Logging documentation on GitHub for more information.