-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailflow.example.toml
More file actions
33 lines (25 loc) · 1.19 KB
/
tailflow.example.toml
File metadata and controls
33 lines (25 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# tailflow.toml — place at your monorepo root
# Run `tailflow` or `tailflow-daemon` and all sources below start automatically.
[sources]
# Tail all running Docker containers
docker = false
# Treat piped stdin as a named source (only used when piping into tailflow)
# stdin = "pipe"
# ── File sources ─────────────────────────────────────────────────────────────
# [[sources.file]]
# path = "logs/app.log"
# label = "app" # optional; defaults to filename
# [[sources.file]]
# path = "/var/log/nginx/access.log"
# ── Process sources ───────────────────────────────────────────────────────────
# Tailflow spawns these processes and captures their stdout + stderr.
# Perfect for a monorepo: define your whole stack here.
# [[sources.process]]
# label = "frontend"
# cmd = "npm run dev --prefix packages/web"
# [[sources.process]]
# label = "api"
# cmd = "go run ./cmd/api"
# [[sources.process]]
# label = "worker"
# cmd = "cargo run -p my-worker"