Skip to content

deployyy logs prints the message and the fields of a JSON line - #112

Merged
paales merged 2 commits into
mainfrom
cli-log-fields
Dec 1, 2026
Merged

paales merged 2 commits into
mainfrom
cli-log-fields

Conversation

@paales

@paales paales commented Dec 1, 2026

Copy link
Copy Markdown
Member

Written by 🤖:

deployyy logs prints the message of a JSON log line as the text and its other keys as name=value, so a stack trace no longer hides the message. A value with a space, a quote, = or a line break prints as a quoted string, so each log line stays one line of output. --json holds the fields too.

  • The console serves EnvironmentLogLine.fields since ho-nl/deployyy-web#1194, which runs on deployyy.com.

Checks that ran locally: gofmt -l ., go vet ./..., go test ./... in cli/.

@paales
paales merged commit bed1bcf into main Dec 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant