journal.
Behaviours: gen_server.
Logger handler for sending messages to systemd's journal.
Run this after the systemd application is started:
logger:add_handler(journal,
systemd_journal_h,
#{formatter => {systemd_journal_formatter, #{}}).
It is very important to use systemd_journal_formatter here, otherwise the
messages will not be recorded.
systemd_journal_formatter unless
you are completely sure what you are trying to do. Otherwise you can loose your
log data.Generated by EDoc