# Website access and error logs
# Website Logs
Website access logs are stored very briefly. Once used for stats processing, the log file is discarded and a new log file created in its place.
The path to the website logs is:
/var/local/enhance/webserver_logs/{uuid}.log
Replace {uuid} with the website ID which is visible in your browser's address bar when managing the website.
This is the same for Apache, LiteSpeed, OpenLiteSpeed and Nginx and the log format is always the same regardless of the web server you use. You may find it useful to look at the logs to see if requests are reaching the server, to rule out DNS or firewall issues and also to view the HTTP response code sent back to the client.
To watch the logs in real time you can:
tail -f /var/local/enhance/webserver_logs/{uuid}.log
This will work until the logs are next cycled.
# Webserver error Logs
Error logs differ depending on which web server type you are running.
Apache
Apache logs to /var/log/apache2/error.log
LiteSpeed
LiteSpeed logs to /var/local/enhance/openlitespeedlogs
OpenLiteSpeed
OpenLiteSpeed logs to /var/local/enhance/openlitespeedlogs
Nginx
Nginx logs to /var/log/nginx/error.log