Skip to main content

Project logs

Every project writes logs to /var/log in its hosting environment. You can read them via SSH or SFTP. This page describes what these logs contain and how long they are kept — for example, when you need this information for your privacy policy.

Web server logs​

The web server of your project writes an access log to /var/log/http/access.log and an error log to /var/log/http/error.log.

  • Contents of the access log: the shortened client IP address, the user of a directory protection (if any), the time, the request line (method, path including query string, protocol), the status code, the response size, the referrer, the user agent and the requested host name.
  • IP address shortening: IP addresses are shortened before they are written — for IPv4, the last octet is set to 0; for IPv6, only the first 48 bits are kept. This applies to the error log as well. Full client IP addresses are not stored in any project log.

Other logs​

  • Cronjobs: The output of your cronjobs‍ is logged to /var/log/cronjobs/.
  • Containers: Logs of your containers‍ are written to /var/log/container/. They are rotated as soon as they exceed 30 MB.

Retention​

LogKept for
Web server logs (/var/log/http/)30 days, archived daily
Container logs (/var/log/container/)30 days after rotation
Cronjob logs (/var/log/cronjobs/)7 days

Logs are also part of your project backups‍, so they are kept for as long as the backups that contain them. A separate retention period for logs alone cannot be configured.

On this page