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

Post Reply
Sarge
Junior Member
Posts: 11
Joined: 14 Jun 2014, 06:51

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

Post 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
Post Reply