Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Display Web access and error logs

Update 03/12/2026

This guide explains how to view and download Apache logs from Web Hosting, which are useful for analyzing PHP errors or diagnosing certain application behaviors.

 

Introduction

  • Access and error logs are kept for at least 7 days.
  • Once the retention period has expired, older entries cannot be restored, even upon request.
  • You can also find these files directly on the server via SSH/FTP in the ik-logs folder at the root of your hosting.

 

Accessing access and error logs

To view these logs:

  1. Click here to access your site management on the Infomaniak Manager (need help?).
  2. Click directly on the name assigned to the site concerned:
  3. Click on Advanced in the left sidebar.
  4. Click on Logs in the left sidebar.
  5. Click on Errors or Access to display the error log or access log.
  6. Choose a period if necessary.
  7. Click on the icon to see the details.
  8. Click on Send by email to immediately receive all entries by email to your user address.
  9. Click to export the data in .log format:

 

Identify the most active IP addresses in the access logs

To do this, connect to the server via SSH (need help?).

The line to execute in SSH is as follows:

cat ik-logs/access.log | awk '{ print $2}' | sort -n | uniq -c | sort -n | tail -n 20

Has this FAQ been helpful?