Przejdź do treści
Biblioteka skilli
DevOps i chmura · Analiza

remote-logs

/remote-logs

Pobiera logi budowania i logi uruchomieniowe wdrożonego backendu aplikacji Fusebase poleceniem fusebase remote-logs przy debugowaniu.

Repozytorium
fusebase-flow ↗
Licencja
MIT
Ostatnia zmiana repozytorium
19.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pobiera logi budowania i logi uruchomieniowe wdrożonego backendu aplikacji Fusebase poleceniem fusebase remote-logs przy debugowaniu.

Oryginalny opis (EN)

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.

Jak działa

  1. Important Distinction
  2. Commands
  3. When to Use Each Log Type
  4. Prerequisites
  5. Error Messages
  6. Example Debug Flow
Sekcje z nagłówków SKILL.md, w oryginale · 151 linii, 633 słów
Podgląd SKILL.md
---
name: remote-logs
description: "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."
---

# 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:

1. **Build logs** - Output from the container image build process
2. **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:

```bash
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:

```bash
# 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-sidecar
```

Options:
- `--tail <n>` - Number of log entries (0-300, default: 100)
- `--type <type>` - Log type: `console` (stdout/stderr) or `system` (service/infrastructure logs)
- `--container <name>` - Filter logs to a specific container. Use `api` for 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 created
```

Use `--container` to filter to a single container output:

```bash
# Show only sidecar logs
fusebase remote-logs runtime <appId> --container chromium

# Show only backend logs
fusebase remote-logs runtime <appId> --container api
```

## 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.log` debug 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

1. App **must have a `backend/` folder** — frontend-only apps do not produce remote logs
2. App must be deployed via `fusebase deploy`
3. Deployment must have completed successfully (for runtime logs)
4. 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

1. Deploy fails → Check build logs:
   ```bash
   fusebase remote-logs build
   ```

2. App crashes on startup → Check runtime console logs:
   ```bash
   fusebase remote-logs runtime --tail 50
   ```

3. Container keeps restarting → Check system logs:
   ```bash
   fusebase remote-logs runtime --type system
   ```

4. No obvious errors → Check more log entries:
   ```bash
   fusebase remote-logs runtime --tail 300
   ```

5. Sidecar misbehaving -> Check sidecar-specific logs:
   ```bash
   fusebase remote-logs runtime <appId> --container my-sidecar --tail 200
   ```

Wersje

W bazie nie ma innych skilli o nazwie remote-logs.

Identyczna treść występuje jeszcze w 2 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki baa1232c5c48 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100dev-debug-logs
    Wskazuje, gdzie lokalny CLI zapisuje logi przeglądarki, ruch API przez proxy oraz wyjście serwerów frontendu i backendu przy fusebase dev start, i który plik sprawdzić dla danego objawu.
  • 95fusebase-cli
    Obsługuje CLI Fusebase do tworzenia, uruchamiania i wdrażania aplikacji Fusebase oraz ustawiania uprawnień dashboardów.
  • 95prod-logs
    Odczytuje ostatnie logi wdrożonego Workera poleceniem alchemy logs i przenosi znaleziony błąd do lokalnego odtworzenia w bun run dev oraz do zgłoszenia.
  • 95fusebase-cli
    Prowadzi przez CLI Fusebase: inicjalizację projektu aplikacji, konfigurację, uruchamianie lokalne, wdrożenie i uprawnienia do dashboardów.
  • 100fastapicloud-logs
    Sprawdza logi FastAPI Cloud: ostatnie linie, znacznik czasu ostatniego logu, logi budowania wdrożenia i szybka kontrola zdrowia aplikacji.
  • 90fusebase-gate
    Obsługuje bramkę Fusebase Gate przez MCP: kontrakty, tokeny, listę użytkowników organizacji i wygenerowane narzędzia.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.