Skip to content

Where do I find the log files? #398

Answered by foxcpp
wulfsystems asked this question in Q&A
Discussion options

You must be logged in to vote

Log output is written to stderr by default. If you run maddy via systemd unit the log is written to the system journal and can be viewed using journalctl (e.g. journalctl -u maddy). If you run it via some other method and stderr is not recorded - well, you have no log. You can add log directive to the config to enable logging to syslog or to a file.

e.g.

$(local_domain) = ...

log syslog # send log to system's syslog daemon
log /var/log/maddy/mail.log # write to a file directly

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wulfsystems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants