other:loglocations

Configure log file locations for use by the login failure daemon.

juggernaut --task=other:loglocations
Option
Value Default Description
--HTACCESS_LOG <string> /var/www/vhosts/system/*/logs/error_log The location for the htaccess log file.
--MODSEC_LOG <string> /var/log/modsec_audit.log The location for the modsecurity log file.
--SSHD_LOG <string> /var/log/secure The location for the sshd log file.
--SU_LOG <string> /var/log/secure The location for the su log file.
--SUDO_LOG <string> /var/log/secure The location for the sudo log file.
--FTPD_LOG <string> /var/log/secure The location for the ftpd log file.
--SMTPAUTH_LOG <string> /var/log/maillog The location for the smtp auth log file.
--POP3D_LOG <string> /var/log/maillog The location for the pop3d log file.
--IMAPD_LOG <string> /var/log/maillog The location for the imapd log file.
--IPTABLES_LOG <string> /var/log/messages The location for the iptables log file.
--SUHOSIN_LOG <string> /var/log/messages The location for the suhosin log file.
--BIND_LOG <string> /var/log/messages The location for the bind log file.
--SYSLOG_LOG <string> /var/log/messages The location for the syslog log file.
--CUSTOM1_LOG <string> /var/log/plesk/panel.log The location for the custom 1 log file.
--CUSTOM2_LOG <string> /var/log/psa-horde/psa-horde.log The location for the custom 2 log file.
--CUSTOM3_LOG <string> /var/log/plesk-roundcube/errors The location for the custom 3 log file.
--CUSTOM4_LOG <string> /var/www/vhosts/system//logs/access*log The location for the custom 4 log file.
--CUSTOM5_LOG <string> /var/log/customlog The location for the custom 5 log file.
--CUSTOM6_LOG <string> /var/log/customlog The location for the custom 6 log file.
--CUSTOM7_LOG <string> /var/log/customlog The location for the custom 7 log file.
--CUSTOM8_LOG <string> /var/log/customlog The location for the custom 8 log file.
--CUSTOM9_LOG <string> /var/log/customlog The location for the custom 9 log file.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.
--restart <yes> Restart the service after saving settings.

Examples

// set CUSTOM5_LOG
juggernaut --task=other:loglocations --CUSTOM5_LOG='/var/log/somelog' --restart=yes

// reset CUSTOM5_LOG back to default
juggernaut --task=other:loglocations --default_option=CUSTOM5_LOG --restart=yes

// reset all settings back to default
juggernaut --task=other:loglocations --default=yes --restart=yes