Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to review the event log of your website

To check your website's event log, you can follow the steps below:

1- Log in to the SW Panel and go to the Dashboard of the corresponding service, using the search engine at the top. enter image description here

2- Once you are in the Dashboard of your service, go to the LOG Manager using the LOGs icon. enter image description here

You will then see four different types of files: Apache Access, Apache Error, Nginx Access and Nginx Error:

  • apache_access_XXXXXXXXXXXXXX.log - The server stores information about all requests it processes, the location of the log file and the content that is logged in the access log.

  • apache_error_XXXXXXXXXXXXXX.log - The Apache error log is where you record information about any errors or anomalies you encounter. Many of the "errors" in the Apache logs are usually minor, such as a visitor requesting a file that does not exist. Apache also uses error logs to record warnings that may indicate a potential problem with a particular event or configuration.

  • nginx_access_XXXXXXXXXXXX.log** - In this file you will see the requests made by the Nginx service against your web service (cache).

  • nginx_error_XXXXXXXXXXXXXX.log - The server stores the information about all the requests of the Nginx service with error, against your web service in this error log.

The way to view any of the 4 types of logs that we have just discussed is the same as the following example.

3- Select the drop-down menu [...] and select "Download" or "View Log from SW Panel". If the log file is too large, the option "View Log from SW Panel" will not be available. enter image description here

4- If you open it using the SW Panel, it will look like this. enter image description here

5- In the option "Data to display", you can choose between the following options, to filter and search only for the specific code. enter image description here

  • All log lines: --> Default option.

  • Only lines Result Ok - (Status 200) --> Filter only the lines containing status 200, the request has succeeded

  • Redirect Result lines only - (Status 300) --> Filter only lines containing status 300, equivalent to redirects.

  • Only lines Result Client Error - (Status 400) --> Filter only lines containing status 400, equivalent to client errors.

  • Only lines Result Server Error - (Status 500) --> Filter only the lines containing status 500, equivalent to server errors.

6- Also, you can choose the maximum number of lines to display, by default it is 5000, although you can modify it. You only have to write in the box the number of lines you want and press the "Enter" button. enter image description here

If you have any questions about this, feel free to use our [support wall](https://www.swhosting.com/es/comunidad/manual/soporte-gratuito

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.