Include details about logging configuration
Some checks failed
Go Test / test (push) Failing after 1m13s

This commit is contained in:
Fred Boniface 2024-04-14 22:59:58 +01:00
parent c86e601a62
commit edbfbac23c

View File

@ -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 |
<sup>1</sup> Set to 'off' to disable VSTP Updates. Useful in testing as you cannot have two clients connected.
<sup>1</sup> 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.