vip logs
Get logs from your VIP applications
Usage
vip logs [options]
Options
Option | Description |
---|---|
-a , --app |
Specify the app |
-d , --debug |
Activate debug output |
-e , --env |
Specify the environment |
-f , --follow |
Keep fetching new logs as they are generated |
-F , --format |
[value] Output the log lines in CSV or JSON format (defaults to “table”) |
-h , --help |
Output the help for the (sub)command |
-l , --limit |
The maximum number of log lines (defaults to 500) |
-t , --type |
[value] The type of logs to be returned: “app” or “batch” (defaults to “app”) |
-v , --version |
Output the version number |
Examples
- Get the most recent app logs
$ vip @mysite.production logs
- Get the most recent batch logs
$ vip @mysite.production logs --type batch
- Get the most recent 100 log entries
$ vip @mysite.production logs --limit 100
- Get the most recent 100 log entries formatted as comma-separated values (CSV)
$ vip @mysite.production logs --limit 100 --format csv
- Get the most recent 100 log entries formatted as JSON
$ vip @mysite.production logs --limit 100 --format json
Last updated: April 24, 2024