Page 1 of 1

LFD write to own log instead of email (or in addition to)

Posted: 03 Mar 2022, 10:28
by Sarge
Hello,
Emails as a basic notification system is not enough and even not-contemporary, definitely.
Same messages sent to own log file at-least allow to write own parsing script to process the ones.
It should not be so difficult to implement, I hope...just add two options to /etc/csf.conf
SEND COPY of email body to own log file = 0(not) / 1(yes)
OWNLOGFILEPATH = "/var/log/path/lfdown.log/
+ add a line to your code where it generates and send emails...

IMHO it would be useful !
Regards
Serge