feat: add the ability to set the haproxy log level

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-06 00:26:48 -04:00
parent 8bd4f66bec
commit fd09beaf48
5 changed files with 23 additions and 4 deletions

View File

@@ -101,6 +101,16 @@ dokku haproxy:logs --tail --num 10
The above command will show logs continually from the vector container, with an initial history of 10 log lines
### Changing the Haproxy log level
Haproxy log output is set to `ERROR` by default. It may be changed by setting the `log-level` property with the `--global` flag:
```shell
dokku haproxy:set --global log-level DEBUG
```
After modifying, the Haproxy container will need to be restarted.
## Displaying Haproxy reports for an app
You can get a report about the app's Haproxy config using the `haproxy:report` command: