json-server icon indicating copy to clipboard operation
json-server copied to clipboard

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

Open lantzbuilds opened this issue 1 year ago • 1 comments

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.

lantzbuilds avatar Jan 23 '24 20:01 lantzbuilds