Merge pull request #4160 from nerg4l/go-logs-plugin

Rewrite logs plugin in Go
This commit is contained in:
Jose Diaz-Gonzalez
2020-11-26 04:58:51 -05:00
committed by GitHub
16 changed files with 220 additions and 163 deletions

View File

@@ -1,5 +1,9 @@
# 0.22.0 Migration Guide
## Deprecations
- Calling `logs:failed` without either a `<name>` or the `--all` flag is deprecated.
## Changes
- Underscores are no longer valid characters in app names. Please rename applications before upgrading.

View File

@@ -2,7 +2,7 @@
```
logs <app> [-h] [-t] [-n num] [-q] [-p process] # Display recent log output
logs:failed [<app>] # Shows the last failed deploy logs
logs:failed [--parallel count] [--all|<app>] # Shows the last failed deploy logs
```
## Usage
@@ -46,8 +46,8 @@ You can retrieve these logs by using the `logs:failed` command
dokku logs:failed node-js-app
```
You can also retrieve the failed logs for each app:
You may also fetch all failed app logs by using the `--all` flag.
```shell
dokku logs:failed node-js-app
dokku logs:failed --all
```