docs: update operator deployment
This commit is contained in:
34
docs/monitoring/logging.md
Normal file
34
docs/monitoring/logging.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: Logging
|
||||
layout: default
|
||||
parent: Monitoring and Performance
|
||||
nav_order: 2
|
||||
---
|
||||
|
||||
|
||||
# Logging
|
||||
|
||||
### Set the log level to TRACE
|
||||
|
||||
Setting the log level to trace configures the server to trace-log all the headers given in forward auth requests.
|
||||
|
||||
This is helpful to confirm that certain required Headers are correctly forwarded from the reverse proxy.
|
||||
|
||||
|
||||
|
||||
### When using the environment variable
|
||||
|
||||
Set the Goma log level to TRACE:
|
||||
|
||||
Add the following block to your .env file:
|
||||
```shell
|
||||
GOMA_LOG_LEVEL=trace
|
||||
```
|
||||
|
||||
### When using a configuration file
|
||||
|
||||
Edit the Goma settings and set `logLevel: trace`.
|
||||
|
||||
### Disable logging
|
||||
|
||||
To disable logs, you need to set `logLevel: off`, it will turn off logs
|
||||
Reference in New Issue
Block a user