Mercurial Hosting > luan
diff src/goodjava/webserver/handlers/LogHandler.java @ 1610:94ea190714dd
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 13 May 2021 17:26:34 -0600 |
parents | 8a717f0b7f45 |
children | 8b3ad1fb219f |
line wrap: on
line diff
--- a/src/goodjava/webserver/handlers/LogHandler.java Sun May 09 11:42:03 2021 -0600 +++ b/src/goodjava/webserver/handlers/LogHandler.java Thu May 13 17:26:34 2021 -0600 @@ -66,7 +66,7 @@ return null; String ip = (String)request.headers.get("x-real-ip"); //String agent = (String)request.headers.get("user-agent"); - logger.info( ip + " \"" + request.method + " " + request.path + "\" " + response.status.code + " " + response.body.length ); + logger.info( ip + " \"" + request.method + " " + request.rawPath + "\" " + response.status.code + " " + response.body.length ); return response; } }