On 19/09/19 10:44 pm, Eli Schwartz via arch-general wrote:
On September 19, 2019 1:00:26 PM EDT, Amish via arch-general <arch-general@xxxxxxxxxxxxx> wrote:
those users who use logwatch that they need to take following actions:
1) pacman -Syu
2) cat /usr/lib/systemd/system/logwatch.service.d/local.conf
[Service]
ExecStart=
ExecStart=/usr/bin/logwatch --output mail
3) systemctl daemon-reload
4) systemctl --now enable logwatch.timer
I guess it's entirely possible that users were logging without using mail at all. There are guides for generically forwarding systemd logs via email, though.
Thanks but why would one parse logs to log it back to logs?
The default behaviour of earlier version of logwatch was to send email
to root. (via cron)
So I guess if the timer was meant to be drop in replacement for cron
then it should e-mail too.
Amish.