Access to the Web server logs is not enabled by default. If you would like us to enable it, please create a Support case with the request.
However, FTP service is running as one process for all virtual servers configured on the Shared Server and it’s log is being written to one file. For security reasons, we cannot enable access to this file for our customers. However, we can provide FTP server log records related to your FTP server only for the specific time period per your request.
There are two virtual directories configured on the FTP server within your virtual server root:
- Logs – Web server logs
- FTPLogs – FTP server logs
These directories have Hidden attribute set so FTP clients do not show them by default.
In order to access logs you should connect to the FTP server with credentials of User with the D:\FTP\WebAccountName Home directory.
Here is the example on how to access Web server logs using Filezilla:
And the example on how to access Web server logs using Command Prompt:
Note: To download log file, please use 'GET' command. To download multiple log files, you need to use the 'MGET' command.
On Linux server there are following logs configured
- apache.access_log - Web server access log
- apache.error_log – Web server error log
- xferlog - FTP server log
To access these log files you should login to the FTP server with the special user logadmin credentials.
By default logadmin user password is the password which you set during account creation and it can be reset via the HostPilot® Control Panel > Web/FTP Server > Ftp Server > FTP Users:
Note: You can configure the Log Level in HostPilot Control Panel > Web/FTP Server > Apache Server > Server Settings.
- Log files are rotated daily.
- Only log files for the previous and current months are kept on the system. Older log files are deleted.
- Maximum log files space allocated to one account is 1 GB. If the log files grow larger than the allowed disk allocation, the oldest logs are removed to bring disk usage within limits.
- Windows log files record their time in GMT. Linux Log files record their time in PST.