From 3d16bce4fa38105100734604260f4bb9c4efb39b Mon Sep 17 00:00:00 2001 From: jca25 <48024514+jca25@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:22:09 +0100 Subject: [PATCH] Create LOGGING_GUIDE.md Provides a document on configuring logging levels via environment variables and advises on log rotation options for Base node containers. --- docs/LOGGING_GUIDE.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/LOGGING_GUIDE.md diff --git a/docs/LOGGING_GUIDE.md b/docs/LOGGING_GUIDE.md new file mode 100644 index 00000000..2f191dec --- /dev/null +++ b/docs/LOGGING_GUIDE.md @@ -0,0 +1,16 @@ +# Logging configuration guide + +This guide describes how to customise log output for Base node components. + +## Log levels + +- `error` – show only errors +- `warn` – warnings and errors +- `info` – default verbosity +- `debug` – verbose logs for debugging + +Set environment variables to adjust levels: + +```bash +LOG_LEVEL=debug +OP_NODE_LOG_LEVEL=info