---
title: 'other:loglocations'
url: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-loglocations'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-loglocations.md'
date: '2026-10-07'
description: '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.…'
taxonomy:
  category:
    - docs
  tag:
    - syslog
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Other       other:loglocations    

# 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

// point the mail logs at the Debian mail.log location
juggernaut --task=other:loglocations --SMTPAUTH_LOG=/var/log/mail.log --POP3D_LOG=/var/log/mail.log --IMAPD_LOG=/var/log/mail.log --restart=yes
```

## Related Pages

- [Syslog / Rysyslog logs](https://docs.danami.com/juggernaut/user-guide/syslog-rsyslog-logs "Syslog / Rysyslog logs")
- [Log Locations](https://docs.danami.com/juggernaut/settings/other/log-locations "Log Locations")
- [Syslog Settings](https://docs.danami.com/juggernaut/settings/other/syslog-settings "Syslog Settings")
- [Initial Settings](https://docs.danami.com/juggernaut/settings/firewall/initial-settings "Initial Settings")

 [ ](https://docs.danami.com/juggernaut/command-line-interface/firewall/firewall-initial) [](https://docs.danami.com/juggernaut/settings/firewall/initial-settings)

---

## Navigation

- Previous: [other:debug](https://docs.danami.com/juggernaut/command-line-interface/other/other-debug.md)
- Next: [other:port](https://docs.danami.com/juggernaut/command-line-interface/other/other-port.md)
