Log request paths

main
_ 2020-11-08 02:37:11 +00:00
parent 70522f851a
commit 8c7f4684b4
1 changed files with 2 additions and 0 deletions

View File

@ -459,6 +459,8 @@ async fn handle_all (req: Request <Body>, state: Arc <RelayState>)
let path = req.uri ().path ();
//println! ("{}", path);
debug! ("Request path: {}", path);
let api_key = req.headers ().get ("X-ApiKey");
if req.method () == Method::POST {