Skip to content

Commit

Permalink
Merge pull request #102 from spiralover/fix/log
Browse files Browse the repository at this point in the history
fix(log): use default logger
  • Loading branch information
Ahmard authored Dec 8, 2024
2 parents eda4b69 + 09c4d95 commit cb4821b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "medullah-web"
version = "0.23.0"
version = "0.23.1"
edition = "2021"
license = "MIT"
description = "Micro-Framework Based on Ntex"
Expand Down
2 changes: 1 addition & 1 deletion src/http/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub fn register_routes(config: &mut ServiceConfig, routes: Vec<Route>) {
}

pub fn setup_logger() -> Logger {
Logger::new("%a %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\" %T")
Logger::default()
.exclude("/favicon.ico")
.exclude("/system/docker-health-check")
}
Expand Down

0 comments on commit cb4821b

Please sign in to comment.