mailcow-dockerized-docs/docs/debug-logs.md

15 Zeilen
822 B
Markdown

2017-07-11 17:05:29 +02:00
!!! warning
This section only applies for Dockers default logging driver (Json).
2017-05-09 17:23:05 +02:00
To view the logs of all mailcow: dockerized related containers, you can use `docker-compose logs` inside your mailcow-dockerized folder that contains your `mailcow.conf`. This is usually a bit much, but you could trim the output with `--tail=100` to the last 100 lines per container, or add a `-f` to follow the live output of all your services.
2017-05-06 18:24:40 +02:00
2017-07-11 17:05:29 +02:00
To view the logs of a specific service you can use `docker-compose logs [options] $service_name`
2017-05-06 18:24:40 +02:00
!!! info
The available options for the command **docker-compose logs** are:
2017-05-06 18:33:53 +02:00
2017-05-06 18:24:40 +02:00
- **--no-color**: Produce monochrome output.
- **-f**: Follow the log output.
- **-t**: Show timestamps.
- **--tail="all"**: Number of lines to show from the end of the logs for each container.