Skip to content

Print JSON logs only in debug mode #120

@guacamole

Description

@guacamole

We're using JSON as the method for printing logs while running OpenRegistry. When running locally or non-production environments, we should be able to run it with human friendly text log like:

3:04PM INF Hello World foo=bar

https://github.com/rs/zerolog#pretty-logging

Metadata

Metadata

Assignees

Labels

P1P1 label is used for this that we see of highest priority. Critical bugs, security issues, etcenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions