-
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
8b48d1b
commit 76fcfd7
Showing
4 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters