mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
While capturing stdout and stderr and automatically logging that to system logging daemon provides basic information, a lot of information lost in the process. This change logs to systemd journal directly so that rich information such as code file, code function, code line, etc, can be captured in a structured way. To avoid double logging, discard stdout and stderr in the systemd unit file. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>