mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-26 12:22:36 +00:00
801e04bd53
This commit includes changes that improve how and what Rocket logs automatically. Rocket now logs: * All guard errors, indicating the failing guard kind and type. * A warning when a 'TempFile' is used as a data guard for a request that specifies a 'form' Content-Type. * Only the top/sub of a request's format. This commit makes the following breaking changes: * '<T as FromData>::Error' must implement 'Debug'. Furthermore, this commit restores the previous behavior of always logging launch info. It further restores the unspecified behavior of modifying logging state only when the set logger is Rocket's logger.
4 lines
97 B
TOML
4 lines
97 B
TOML
[default]
|
|
secret_key = "itlYmFR2vYKrOmFhupMIn/hyB6lYCCTXz4yaQX89XVg="
|
|
template_dir = "templates"
|