Remote Logs
This skill applies only to features with a backend/ folder. Frontend-only features do not produce remote logs.
When a feature backend has been deployed using fusebase deploy, you can fetch logs from the cloud:
- Build logs - Output from the container image build process
- Runtime logs - Live stdout/stderr and system logs from the running backend
Important Distinction
| Context | Command | What It Reads |
|---|---|---|
| Local development | fusebase dev start |
Log files in <feature>/logs/dev-*/ |
| Deployed backend | fusebase remote-logs |
Cloud build and runtime logs |
If the feature is running locally via fusebase dev start, use the dev-debug-logs skill instead.
Commands
Build Logs
Fetch build/deployment logs from the most recent deploy:
fusebase remote-logs build <featureId>
Output includes:
- Build status (
in_progress,failed,finished) - Full build log (Dockerfile execution, npm install, etc.)
- Deploy job ID for reference
Runtime Logs
Fetch live logs from the running backend:
# Default: last 100 console (stdout/stderr) entries
fusebase remote-logs runtime <featureId>
# Specify tail count (0-300)
fusebase remote-logs runtime <featureId> --tail 200
# Get system logs instead of console logs
fusebase remote-logs runtime <featureId> --type system
Options:
--tail <n>- Number of log entries (0-300, default: 100)--type <type>- Log type:console(stdout/stderr) orsystem(service/infrastructure logs)
When to Use Each Log Type
Build Logs
Use for:
- Failed deployments (
status: failed) - Dockerfile issues
- npm install failures
- Build-time errors and warnings
- Deployment timing issues
Runtime Logs (console)
Use for:
- Application startup errors
- HTTP request handling issues
- Unhandled exceptions/rejections
console.logdebug output from the backend- Server crash diagnostics
Runtime Logs (system)
Use for:
- Container health check failures
- Container restart events
- Resource limits (CPU/memory) issues
- Infrastructure events
- Networking/ingress problems
Prerequisites
- Feature must have a
backend/folder — frontend-only features do not produce remote logs - Feature must be deployed via
fusebase deploy - Deployment must have completed successfully (for runtime logs)
- API key configured via
fusebase auth
Error Messages
| Error | Meaning | Fix |
|---|---|---|
| "No deploy found for AppFeature" | Feature has never been deployed | Run fusebase deploy first |
| "No successful deploy found" | Latest deploy failed | Check build logs, fix, redeploy |
| "Missing resource information" | Deploy metadata incomplete | Redeploy the feature |
Example Debug Flow
Deploy fails → Check build logs:
fusebase remote-logs buildApp crashes on startup → Check runtime console logs:
fusebase remote-logs runtime --tail 50Container keeps restarting → Check system logs:
fusebase remote-logs runtime --type systemNo obvious errors → Check more log entries:
fusebase remote-logs runtime --tail 300