Skip to content

logger disabled by default in v1+; add option to enable logger? #1497

Open
@lantzbuilds

Description

@lantzbuilds

I've been looking for a way to config json-server to re-enable the logger from versions < v1. It's very useful to see a log of processed requests. Looking at the source code, I think I see the boolean to enable it, but it's currently hardcoded false. Could there be an option flag "-l", "--log" or some other way to enable it from the command line? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions