In this article, you will learn:
- What is the purpose of logging
- How to activate logging in the admin panel
- How to download the logs
- Frequently asked questions
The purpose of logging
You can use logging to find out why your web is slow, or otherwise not behaving correctly. We offer two types of logs with our Webhosting service – Accesslog and Errorlog.
The system only starts logging when you activate it. Older logs aren’t available.
Accesslog
Accesslog logs all traffic via HTTP and HTTPS. It doesn’t monitor FTP access. Its purpose is to document general website traffic, or access to specific files, such as CMS administration panels.
Errorlog
Errorlog logs all PHP (script) and Apache (server) errors. You can use it especially for testing app updates and plugins, or researching possible causes for Error 503.
Logging activation
If you need to log a WMS webhosting, skip this step and continue with Accessing logs. WMS logs are always active.
Accesslog and Errorlog are optional services. To activate them, follow these steps:
- Log into the admin panel.
- In the top menu, select Hosting services >> Webhosting.
- Pick the webhosting, where you want to activate logging.
- In the left menu, select Optional services.
- Pick the type of log and click the green + button on the left.
- To activate logs teporarily (for free), check activate temporarily for 24 hours.
- Click the Activate button.
Once you activate logging, the system takes up to 30 minutes to start recording logs. Any events that occurred before logging started will not appear in the record.
You can only enable 24-hour logging (free) once every 30 days.
Accessing logs
The system stores Access- and Errorlogs in a new file every day. You can download logs as old as 7 days (but no older than when the service was activated).
The logs are accessible through the admin panel. Follow these steps:
- Log into the admin panel.
- In the top menu, select Hosting services >> Webhosting.
- Pick the webhosting, where you want to access logs.
- In the left menu, select Logs.
- Select the type and date of the log you want, and click the get the log button.
- After the log generates, click download the log.
Logs are CSV files, which you can open with most spreadsheet software (Excel, Calc and similar).
Frequently asked questions
Question: How do I find out when people connect to my FTP?
Answer: We do not log FTP access.
Question: The error occurred before I started logging. How do I access older logs?
Answer: Records from before you started logging do not exist. If you need to log for a longer period than 24 hours, activate logging permanently.
Question: Why is my log empty?
Answer: Starting the logging process may take up to 30 minutes. If you generate a log dile immediately after starting the service, it will be empty.
Question: Can I download logs automatically?
Qnswer: We do not currently support automatic log downloads.