Change the log identifier for web requests

This commit is contained in:
Tobie Morgan Hitchcock 2022-10-15 19:34:22 +01:00
parent f31b7d7d17
commit 264f208379

View file

@ -13,7 +13,7 @@ impl<T: fmt::Display> fmt::Display for OptFmt<T> {
} }
} }
const NAME: &str = "surreal::web"; const NAME: &str = "surrealdb::net";
pub fn write() -> warp::filters::log::Log<impl Fn(warp::filters::log::Info) + Copy> { pub fn write() -> warp::filters::log::Log<impl Fn(warp::filters::log::Info) + Copy> {
warp::log::custom(|info| { warp::log::custom(|info| {