# Logs

Logs list recently run [services](https://docs.appfarm.io/reference/services) and [schedules](https://docs.appfarm.io/reference/operations/schedules). All schedules generate a log when they run. For a service to generate a log, the **Enable Log** checkbox must be selected in the [endpoint properties](https://docs.appfarm.io/services/service-endpoints#general-properties).

Each log entry includes the following information:

* The result (success or failure) and name of the service/schedule.
* How long the service/schedule took to run.
* The environment in which the service/schedule was run.
* The time the service/schedule was run.

The logs refresh each time you access the Logs page. Logs are available for the past week up to a maximum of the last 100 runs.

If you need a detailed log of a running service, see [Devtools for Services](https://docs.appfarm.io/reference/appfarm-client/developer-tools-for-services).
