allow the server to be launched in a logging mode.
in this mode it would log the JSON for all requests to a log file, along with a timestamp. I'm sure there's some already existing standard for storing server request logs in JSON format. If so, we should just follow that.
I'm imagining options to enable this like
private_comments --log-to foo/bar/baz.log
the first would log to the default location. the 2nd would log to wherever you told it to.
For bonus points we could add a new request like status that'd toggle logging.
allow the server to be launched in a logging mode.
in this mode it would log the JSON for all requests to a log file, along with a timestamp. I'm sure there's some already existing standard for storing server request logs in JSON format. If so, we should just follow that.
I'm imagining options to enable this like
the first would log to the default location. the 2nd would log to wherever you told it to.
For bonus points we could add a new request like
statusthat'd toggle logging.