gristlabs_grist-core/test
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) Enabling telemetry on /api/version endpoint 2024-06-27 12:05:15 +02:00
client-harness
common (core) Trim unapplicable permissions bits for column rules, both at parse time, and in UI 2024-03-06 09:46:33 -05:00
deployment
fixtures (core) Update onboarding flow 2024-07-23 11:49:23 -04:00
formula-dataset Bump dependencies versions 2024-04-29 14:54:36 -04:00
gen-server (core) test: move gen-server tests into core 2024-08-15 08:44:35 -04:00
nbrowser (core) updates from grist-core 2024-08-19 07:01:01 -04:00
nbrowser_with_stubs Create team site for self-hosted instances (#903) 2024-04-15 00:55:57 -07:00
server (core) Fix unhandledRejection caused by exception from verifyClient. 2024-08-15 17:32:44 -04:00
timings
.eslintrc.js
chai-as-promised.js (core) Trim unapplicable permissions bits for column rules, both at parse time, and in UI 2024-03-06 09:46:33 -05:00
declarations.d.ts (core) Update dependencies 2023-10-11 17:36:58 -04:00
init-mocha-webdriver.js (core) Update dependencies 2023-10-11 17:36:58 -04:00
report-why-tests-hang.js
setupPaths.js
split-tests.js (core) Update dependencies 2023-10-11 17:36:58 -04:00
test_under_docker.sh Small: Log requests body (#913) 2024-08-27 06:38:35 -04:00
testUtils.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
tsconfig.json
upgradeDocument
upgradeDocumentImpl.ts
utils.js
xunit-file.js