mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-28 07:56:37 +01:00
Updates docs
This commit is contained in:
20
docs/guide/debugging.md
Normal file
20
docs/guide/debugging.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Debugging
|
||||
---
|
||||
|
||||
# Debugging with logs
|
||||
|
||||
By default, Dozzle does not output a lot of logs. However this can be changed with `--level` flag. The default value is `info` which only prints limited logs. You can use `debug` or `trace` which will show details about memory, configuration and other stats. `DOZZLE_LEVEL` can be used in compose configurations. Below is an example of using `docker-compose.yml` file to enable `debug` level.
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
services:
|
||||
dozzle:
|
||||
image: amir20/dozzle:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
DOZZLE_LEVEL: debug
|
||||
```
|
||||
Reference in New Issue
Block a user