From edbfbac23c1b7c30aacd21a225717cc69da3ced7 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 14 Apr 2024 22:59:58 +0100 Subject: [PATCH] Include details about logging configuration --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f929284..8fcaf7c 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,10 @@ See the table below for the environment variable name, the configuration file pa | OWL_DB_USER | /owl/conf/db/user | | MongoDB Username | | OWL_DB_PASS | /owl/conf/db/pass | | MondoDB Password | -1 Set to 'off' to disable VSTP Updates. Useful in testing as you cannot have two clients connected. \ No newline at end of file +1 Set to 'off' to disable VSTP Updates. Useful in testing as you cannot have two clients connected. + +## Logging + +Logging is at INFO level. The environment variable 'runtime' is checked. If it is set to `debug`, then the log level will be set to DEBUG. + +If the environment variable 'perflog' is set to `on`, then the number of running goroutines and heap memory allocation will be printed to the console every two seconds. Of course this is off by default. \ No newline at end of file