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. Operations: logfile_add, logfile_del |
--value |
<string> | The value you want to add or delete. |
--restart |
<yes> | Restart the service after saving settings. |
// add an entry
juggernaut --oper=logfile_add --value='/var/log/messages'
// remove an entry
juggernaut --oper=logfile_del --value='/var/log/messages'