Docs Menu

Docs HomeAtlas App Services

View Logs with App Services CLI

On this page

  • View Recent Logs
  • Tail Logs in Real Time
  • View Error Logs
  • Filter Logs by Type
  • View Logs for a Date Range

You can list the 100 most recent log entries for your application:

appservices logs list

You can use the --tail flag to open a stream that displays application logs as they come in.

appservices logs list --tail

You can use the --errors flag to view only error logs. If you don't specify the flag, the command returns both error logs and regular logs.

appservices logs list --errors

You can use the --type flag to view logs of one or more specific types. If you don't specify a type, the command returns logs of all types.

The following types are valid:

  • auth

  • function

  • push

  • service

  • trigger

  • graphql (GraphQL is deprecated. Learn more)

  • sync

  • schema

appservices logs list --type=function --type=trigger

You can use the --start and --end flags to view logs from a range of dates. The flags accept ISODate strings and you can use them separately or together.

appservices logs list --start="2021-01-01T00:00:00.000+0000" --end="2021-02-01T00:00:00.000+0000"
← Trigger Error Handler Logs