1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-28 07:56:37 +01:00

Updates docs

This commit is contained in:
Amir Raminfar
2023-03-13 09:51:53 -07:00
parent 296e8fc50e
commit 8867b2aa7c
5 changed files with 77 additions and 6 deletions

20
docs/guide/debugging.md Normal file
View 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
```