Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/content/config/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ To get a shell inside the container run: `docker exec -it <CONTAINER NAME> bash`

If you need more flexibility than what the `docker logs` command offers, then the most useful locations to get relevant DMS logs within the container are:

- `/var/log/mail/mail.log`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one still exists and doesn't represent a single service AFAIK? Is it worth mentioning?

ln -s /var/log/mail/mail.log /var/log/mail.log

sedfile -i -r '/\/var\/log\/mail\/mail.log/d' /etc/logrotate.d/rsyslog

Copy link
Copy Markdown
Member Author

@georglauterbach georglauterbach Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably be removed.

Nevermind: I mixed something up. I think it's not worth mentioning that additonally.

- `/var/log/mail/mail/<SERVICE>.log`
- `/var/log/mail/<SERVICE>.log`
- `/var/log/supervisor/<SERVICE>.log`

You may use `nano` (a text editor) to edit files, while `less` (a file viewer) and `tail`/`cat` are useful tools to inspect the contents of logs.
Expand Down