summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 74072ca..884b64b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,10 +13,7 @@ use wellknown::*;
#[tokio::main]
async fn main() {
- env_logger::builder()
- .filter_level(log::LevelFilter::Info)
- .parse_env("LOG")
- .init();
+ env_logger::init_from_env("LOG");
let _ = rocket::build()
.attach(AdHoc::on_response("set server header", |_req, res| {