Troubleshoot Production Issues
Prerequisites
Verify authentication before fetching logs:npx base44 login.
Resolve app context in one of these ways:
Available Commands
| Command | Description | Reference |
|---|---|---|
base44 logs | Fetch function logs for this app | project-logs.md |
Troubleshooting Flow
1. Check Recent Errors
Start by pulling the latest errors across all functions:2. Drill Into a Specific Function
If you know which function is failing:3. Inspect a Time Range
Correlate with user-reported issue timestamps:4. Analyze the Logs
- Look for stack traces and error messages in the output
- Check timestamps to correlate with user-reported issues
- Use
--limitto fetch more entries if the default 50 isn’t enough

