changeset 1610:94ea190714dd

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 13 May 2021 17:26:34 -0600
parents 268b2a26e8d7
children f67f972bd648
files src/goodjava/webserver/handlers/LogHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 	}
 }