Usage
.app.jsonc, or target any app on your account by passing --app-id or setting the BASE44_APP_ID environment variable. With an explicit app id, you can run logs from anywhere on your machine, including against apps you built in the Base44 online app editor and never linked locally.
Flags
| Flag | Description |
|---|---|
--app-id <id> | Target the specified app. Defaults to the app linked in the current project. See Select a target app. |
--function <names> | Filter by function name. Accepts a comma-separated list. If omitted, fetches logs for all functions. |
--since <datetime> | Show logs from this time onward. Accepts ISO 8601 format. |
--until <datetime> | Show logs up to this time. Accepts ISO 8601 format. |
-n, --limit <n> | Maximum number of results to return, between 1 and 1000. Defaults to 50. |
--order <order> | Sort order: asc or desc. Defaults to desc. |
Output format
The output is a list of log entries sorted by time. Each entry shows the timestamp, level, function name in brackets, and log message. For example:| Console method | Log level |
|---|---|
console.log | INFO |
console.info | INFO |
console.error | ERROR |
console.warn | WARNING |
console.debug | DEBUG |
See also
- Backend Functions: Learn about serverless functions
deploy: Deploy all project resources to Base44functions deploy: Deploy local functions to Base44functions list: List all deployed functions