Where do I find the log files? #398
Answered
by
foxcpp
wulfsystems
asked this question in
Q&A
-
Maybe bad question, but are there log files like for postfix "mail.log"? |
Beta Was this translation helpful? Give feedback.
Answered by
foxcpp
Sep 13, 2021
Replies: 1 comment
-
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 e.g.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wulfsystems
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 addlog
directive to the config to enable logging to syslog or to a file.e.g.