gristlabs_grist-core/app
Florent 76fcfd733e
Small: Log requests body (#913)
Add body in log requests.

GRIST_LOG_SKIP_HTTP is a badly named environment variable and its
expected values are confusing (to log the requests, you actually have to
set its value to "", and setting to "false" actually is equivalent to
setting to "true").

We deprecate this env variable in favor of GRIST_LOG_HTTP which is more
convenient and understandable:
 - by default, its undefined, so nothing is logged;
 - to enable the logs, you just have to set GRIST_LOG_HTTP=true

Also this commit removes the default value for GRIST_LOG_SKIP_HTTP,
because we don't have to set it to "true" to actually disable the
requests logging thanks to GRIST_LOG_HTTP. FlexServer now handles
the historical behavior for this deprecated variable.

---------

Co-authored-by: Jonathan Perret <j-github@jonathanperret.net>
2024-08-27 06:38:35 -04:00
..
client (core) AdminPanel: hide the enterprise toggle in core and grist-ee images 2024-08-19 15:51:24 -04:00
common (core) AdminPanel: hide the enterprise toggle in core and grist-ee images 2024-08-19 15:51:24 -04:00
gen-server Activations: add an enabled_at column 2024-08-06 15:06:36 -04:00
plugin Move phab docs to /documentation (#882) 2024-03-05 08:35:48 -05:00
server Small: Log requests body (#913) 2024-08-27 06:38:35 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00