# Logs and usage

Each server page has tabs: **Overview**, **Connect**, **Logs**, **Usage**, **Activity** and **Settings**.

## Logs

1. Open the server and select **Logs**.
2. Choose how many lines to show: the last 100, 200, 500 or 1,000.
3. Select **Refresh**, or turn on **Auto-refresh** (every 5 seconds).
4. Select **Download logs** to save them, or **Wrap long lines** to read them.

Logs are available while the server is running. If the page says there is no output yet, the software may still be starting. Logs show the output of your software, so they stay in the language of that software.

## Usage and cost

- **Overview** shows the cost so far (compute, storage and total), the current rate per hour, uptime, and the specifications including the region.
- **Usage** shows spend by day for a range you choose. Usage is charged by the second, booked to your balance every minute and grouped by UTC day.
- **Billing → Usage** shows every server together, by server or by day. Select **Download CSV** to export.
- **Billing → Transactions** lists each top-up, charge, refund and adjustment, with the balance after it.

To check the balance and one server's charges per day from cron or CI, see [Keep an eye on spending from scripts](/docs/tutorial-spending-from-scripts).

## Activity

The **Activity** tab lists events: requested, approved or declined, provisioning, started, stopped, restarted, stopped for balance, resumed, destroyed, errors and name changes. Each shows who did it: you, a team member, our staff or automatic.

## Common problems

- **Usage looks late:** charges are booked as servers run. Refresh after a minute.
- **A charge you do not understand:** open a ticket in the **Billing** category and include the server name and date. See [Support](/docs/support).
