Logs now show names of added packages

This commit is contained in:
Jef Roosens 2022-02-02 13:24:31 +01:00
parent 3ad960fd59
commit a29592ef36
Signed by untrusted user: Jef Roosens
GPG key ID: B580B976584B5F30
5 changed files with 32 additions and 26 deletions

View file

@ -511,12 +511,12 @@ fn handle_conn<T>(mut conn net.TcpConn, mut app T, routes map[string]Route) {
return
}
// The healthcheck spams the logs, which isn't very useful
if head.url != '/health' {
lock app.logger {
app.logger.debug('$head.method $head.url $head.version')
}
}
// The healthcheck spams the logs, which isn't very useful
if head.url != '/health' {
lock app.logger {
app.logger.debug('$head.method $head.url $head.version')
}
}
// req := http.parse_request(mut reader) or {
// // Prevents errors from being thrown when BufferedReader is empty