Configure which logs will be scanned by the log file scanner.
juggernaut --task=lfd:logscanner:logs --oper=<logfile_add|logfile_del> --value=<string>
Option |
Value | Description |
|---|---|---|
--oper |
<string> | The operation you want to perform. Opers: logfile_add|logfile_del - /etc/csf/csf.logfiles |
--value |
<string> | The value you want to add or delete. |
--restart |
<yes> | Restart the service after saving settings. |
// add an entry
juggernaut --task=lfd:logscanner:logs --oper=logfile_add --value=/var/log/messages
// remove an entry
juggernaut --task=lfd:logscanner:logs --oper=logfile_del --value=/var/log/messages
// include the Plesk mail log in the log scanner reports
juggernaut --task=lfd:logscanner:logs --oper=logfile_add --value=/var/log/maillog --restart=yes