Skip to main content
This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the developer documentation.

base44 logs

Fetch function logs for this app.

Syntax

This command can run from a linked project, or outside a project when you pass --app-id <id> or set BASE44_APP_ID.

Options

Examples

Notes

  • Authentication required. You must be logged in before fetching logs.
  • App context required. Run from a linked project, or pass --app-id / set BASE44_APP_ID.
  • When multiple functions are specified, logs are merged and sorted by timestamp.
  • If --function is omitted, logs are fetched for all functions in the current app.
  • The --limit applies after merging logs from all specified functions.
  • The --since and --until values accept an ISO datetime, or a relative shorthand (e.g. 1h, 30m, 2d) measured back from now. ISO values without a timezone are normalized to UTC (appends Z).
  • --env defaults to preview. If prod returns no logs, the app may not have been published yet — try --env preview to see draft logs.
  • --follow streams logs indefinitely (oldest to newest) instead of a single fetch; it’s incompatible with --until and --order.
  • Pass the global --json flag to emit each log entry (or, with --follow, each new line) as JSON instead of the human-readable format.