Show logs from LocalCloud services
service
(optional) - Specific service to show logs forFlag | Short | Description | Default |
---|---|---|---|
--follow | -f | Follow log output | false |
--tail | -n | Number of lines to show from the end | 100 |
--since | Show logs since timestamp (e.g., 1h, 30m) | "" | |
--level | Minimum log level (debug, info, warn, error) | "" | |
--output | Output format (text, json) | text | |
--search | Search logs for specific term | "" |
ai
(alias: ollama
)postgres
(alias: database
)redis
(alias: cache
)minio
(alias: storage
)Level | Color | Description |
---|---|---|
DEBUG | Cyan | Detailed debugging information |
INFO | White | Informational messages |
WARN | Yellow | Warning messages |
ERROR | Red | Error messages |
1h
, 30m
, 10s
2024-03-14T15:04:05
"1 hour ago"
, "yesterday"
-f
) shows logs in real-time:
Ctrl+C
to stop following.
lc status
- Check service statuslc ps
- List containerslc debug
- Debug informationlc service logs
- Alternative log viewing