Skip to content
Browse files

add new example of showing non-info logs

  • Loading branch information...
tj committed Oct 30, 2018
1 parent c11152b commit 6ddb7dc2a7277855528b11e7075d092cf055bd7f
Showing with 1 addition and 0 deletions.
  1. +1 −0 internal/cli/logs/logs.go
@@ -22,6 +22,7 @@ func init() {
cmd.Example(`up logs -S 5h`, "Show logs from the past 5 hours.")
cmd.Example(`up logs -f`, "Show live log output.")
cmd.Example(`up logs error`, "Show error logs.")
cmd.Example(`up logs 'level != "info"'`, "Show non-info logs.")
cmd.Example(`up logs 'production (warn or error)'`, "Show 4xx and 5xx responses in production.")
cmd.Example(`up logs 'production error method in ("POST", "PUT", "DELETE")'`, "Show production 5xx responses with a POST, PUT, or DELETE method.")
cmd.Example(`up logs 'error or fatal'`, "Show error and fatal logs.")

0 comments on commit 6ddb7dc

Please sign in to comment.
You can’t perform that action at this time.