# Logs and error help

Find out what went wrong on a site or server in plain words, search every visit and error, watch new lines arrive live, and read the activity log.

Every visit and every error on your sites and servers is written down in logs. Fuzops reads them for you and says what went wrong in plain words, how often, and how to fix it. Technical name: access log, error log, journal.

There are two Logs pages:

- **A site's Logs** (in the site's **Monitoring & logs** tab): the site's visits, its error pages, its app's own log (for example the Laravel log) and its web server errors.
- **A server's Logs** (in the server's **Monitoring & logs** tab): what went wrong on the machine: web server, PHP workers, databases, sign-ins over remote login, and out-of-memory messages.

Both have three tabs: **What went wrong**, **Search** and **Live**.

## What went wrong

1. Choose a time under **When**: **Last 15 minutes**, **Last 1 hour**, **Last 24 hours**, **Last 7 days**, or **Choose…** for your own period.
2. Choose **Show me what went wrong**.

Fuzops reads every log of the site or server for that time, old and packed log files too (for up to 40 seconds), and answers with a sentence such as "Since Nov 14, 5 things went wrong.", a count of visits (fine, sent elsewhere, not found or refused, error pages), then each problem with how many times it happened, when, which log it came from and, where it knows the cause, what to do. **Show the lines** opens the raw lines behind a problem.

![The result of Show me what went wrong for a site: visits counted and the problems found](https://internal.fuzops.com/docs-img/site-logs-result.webp "What went wrong, in plain words.")

**Recent searches** keeps your last searches.

## Search

**Search** finds lines that contain a word or phrase, in the period you choose, across all the site's or server's logs. Use it when you know what you are looking for: an error message, an address, a time.

## Live

**Live** shows new lines as they are written. Leave it open while you reproduce a problem, for example while you load the page that fails.

## Empty a log

On a site's Logs, **Empty this log…** clears the app's own log (only that file) when it has grown large. You confirm first, and it appears in the activity log.

## Who can read logs

Logs can contain addresses and details of your visitors, so only roles that may see a site's secrets can open a site's logs, and a server's logs need the right to change the server. See [Team, roles and access](https://internal.fuzops.com/docs/team-and-access).

## The activity log

**Activity log** (in the server's **Monitoring & logs** tab) lists everything that was run on the server by Fuzops, newest first, with its output: updates, installs, restarts, backups, quick commands. Open a line to read what it printed. Technical name: task history.

**Team and settings** › **Activity** lists who did what in the team, and when.

## Help on a failed update

A failed update explains itself on its own page, with **See what went wrong** and **What to do**. See [Updates](https://internal.fuzops.com/docs/updates#when-an-update-fails).

## Related

- [Troubleshooting](https://internal.fuzops.com/docs/troubleshooting)
- [Guide: read what went wrong in the logs](https://internal.fuzops.com/docs/guides/read-what-went-wrong-in-the-logs)
