remote-logs
Skill9 starsChanged 27 days agoMITView on GitHub
Use when debugging a deployed app backend. Explains how to fetch build logs and runtime logs using the `fusebase remote-logs` command. Only applicable to apps with a backend/ folder. For local development, use dev-debug-logs skill instead.
- Installs packages
In this repository119 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/fusebase-flow-always.mdcCursor rule
- .cursor/rules/fusebase-flow-implementation.mdcCursor rule
- .cursor/rules/fusebase-flow-security.mdcCursor rule
- .cursor/rules/fusebase-flow-specs.mdcCursor rule
- .cursor/rules/fusebase-flow-validation.mdcCursor rule
- api-explorationSkill
- app-api-contract-testingSkill
- app-backendSkill
- app-business-docsSkill
- app-dev-practicesSkill
- app-e2e-testsSkill
- app-quality-patternsSkill
- app-routingSkill
- app-secretsSkill
- app-sidecarSkill
- app-ui-designSkill
- business-logic-guardianSkill
- client-vs-internalSkill
- code-reviewSkill
- comment-policySkill
- communicationSkill
- design-discovery-ideationSkill
- dev-debug-logsSkill
- documentation-budgetSkill
- file-uploadSkill
- find-wasted-codeSkill
- find-wasted-effortSkill
- fusebase-cliSkill
- fusebase-dashboardsSkill
- fusebase-flow-health-checkSkill
- fusebase-gateSkill
- fusebase-portal-specific-appsSkill
- git-history-diagnosticSkill
- git-workflowSkill
- handling-authentication-errorsSkill
- handoffSkill
- implementation-planningSkill
- invite-with-passwordSkill
- lightweight-laneSkill
- liveness-disciplineSkill
- managed-integrationsSkill
- mcp-gate-debugSkill
- module-size-disciplineSkill
- north-starSkill
- phase-auditSkill
- product-apps-decompositionSkill
- product-docs-firstSkill
- product-ownerSkill
- project-onboardingSkill
- release-deploy-reportingSkill
- repo-onboarding-context-mapSkill
- requirements-specificationSkill
- role-disciplineSkill
- security-permissions-reviewSkill
- skill-authoringSkill
- smoke-testingSkill
- task-delegationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
When an app backend has been deployed using fusebase deploy, you can fetch logs from the cloud:
- Very specific: line 22
If the app is running locally via fusebase dev start, use the dev-debug-logs skill instead.
- Distinctive: line 65
When an app backend has sidecar containers, runtime logs include output from all containers.
- Very specific: line 74
Use --container to filter to a single container output:
- Distinctive: line 146
No obvious errors → Check more log entries:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Remote Logs
This skill applies only to apps with a backend/ folder. Frontend-only apps do not produce remote logs.
When an app 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 <app>/logs/dev-*/ |
| Deployed backend | fusebase remote-logs | Cloud build and runtime logs |
If the app 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 <appId>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 <appId>
# Specify tail count (0-300)
fusebase remote-logs runtime <appId> --tail 200
# Get system logs instead of console logs
fusebase remote-logs runtime <appId> --type system
# Filter to a specific container (backend or sidecar)
fusebase remote-logs runtime <appId> --container api
fusebase remote-logs runtime <appId> --container my-sidecarOptions:
--tail <n>- Number of log entries (0-300, default: 100)--type <type>- Log type:console(stdout/stderr) orsystem(service/infrastructure logs)--container <name>- Filter logs to a specific container. Useapifor the main backend, or the sidecar name for sidecar containers
Log Format with Sidecars
When an app backend has sidecar containers, runtime logs include output from all containers. Each log line is prefixed with the container name:
[api]: Backend server started on port 3000
[api]: GET /health 200
[chromium]: Browser ready on port 9222
[chromium]: New page createdUse --container to filter to a single container output:
# Show only sidecar logs
fusebase remote-logs runtime <appId> --container chromium
# Show only backend logs
fusebase remote-logs runtime <appId> --container apiWhen 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
- Sidecar container output (prefixed by container name)
Runtime Logs (system)
Use for:
- Container health check failures
- Container restart events
- Resource limits (CPU/memory) issues
- Infrastructure events
- Networking/ingress problems
Prerequisites
- App must have a
backend/folder — frontend-only apps do not produce remote logs - App 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 App" | App 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 app |
Example Debug Flow
- Deploy fails → Check build logs:
fusebase remote-logs build - App crashes on startup → Check runtime console logs:
fusebase remote-logs runtime --tail 50 - Container keeps restarting → Check system logs:
fusebase remote-logs runtime --type system - No obvious errors → Check more log entries:
fusebase remote-logs runtime --tail 300 - Sidecar misbehaving -> Check sidecar-specific logs:
fusebase remote-logs runtime <appId> --container my-sidecar --tail 200
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

