From 3b3b858f4ebb90007fb7e0c60e5e67acf6d39da6 Mon Sep 17 00:00:00 2001 From: Yvan Janssens Date: Tue, 24 Sep 2024 13:56:36 +0200 Subject: [PATCH] Update README.md to document logging config. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 2c31549..94400b7 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,18 @@ The service can run in Unix socket mode (default) or TCP mode: If no IP:PORT is given, it defaults to `127.0.0.1:12999`. +#### Troubleshooting + +The log level can be configured using the `RUST_LOG` environment variable. Valid values are: + +- error +- warn +- info +- debug +- trace + +The `info` log level is the default setting. Changing this to `debug` will provide detailed logs on each request for additional troubleshooting. + ## Protocol Format