Closed kwaa closed 4 months ago
The changes involve updating the .env.example
file and the tracing
crate to use a new environment variable, HATSU_LOG
, instead of the old HATSU_LOG_LEVEL
. This update standardizes the logging configuration and is documented in the environments.md
file for administrators. The new variable allows for more detailed logging, including tokio::net
debug information.
File | Summary |
---|---|
.env.example |
Added HATSU_LOG configuration variable set to "info,tokio::net=debug" . |
crates/tracing/src/lib.rs |
Changed environment variable from HATSU_LOG_LEVEL to HATSU_LOG in filter_layer() function. |
docs/src/admins/environments.md |
Updated to include information about the HATSU_LOG parameter and its usage. |
In the code where changes flow,
A new log variable starts to glow,
FromHATSU_LOG_LEVEL
toHATSU_LOG
,
Clearer logs in the dev's catalog.
Debuggingtokio::net
with ease,
Admins smile, their minds at peace.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
.env.example
to include the new configuration variableHATSU_LOG
.HATSU_LOG
to the admin environment documentation, including its default value and example usage.