Skip to content

Disable JSON logging for development #75

Open

Description

@ulich

I completely understand that you should log in JSON format when deployed, but locally during development, even with dev: true the experience isn't that great because then each log entry spans multiple lines and you quickly loose the overview when trying to read many log statements

Have you maybe considered adding a new output format that is just logging out the plain message?

Activity

  1. self-assigned this
    on Oct 20, 2021
  2. KyleRoss commented on Oct 20, 2021

    @KyleRoss
    Owner

    @ulich I'm actually adding a new configuration option to v4.0.0 that will allow you to customize the output of the log prior to logging it to the terminal when dev mode is enabled.

    I'm hoping to have a few different examples of formatting the logs in the documentation on release but I also hope this will spark some plugins to be created by the community to provide many different options.

  3. added this to the v4.0.0 milestone on Oct 20, 2021
  4. ulich commented on Oct 20, 2021

    @ulich
    Author

    Cool. I'm looking forward to this! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions