diff src/goodjava/webserver/Connection.java @ 1770:6c01d54edcac

logging
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 15 Jun 2023 17:55:47 -0600
parents b4fa42c1e999
children 32e77b071e09
line wrap: on
line diff
--- a/src/goodjava/webserver/Connection.java	Sun Jun 11 19:17:26 2023 -0600
+++ b/src/goodjava/webserver/Connection.java	Thu Jun 15 17:55:47 2023 -0600
@@ -117,7 +117,7 @@
 
 				response = server.handler.handle(request);
 			} catch(ParseException e) {
-				logger.warn("parse error\n"+rawHead.trim()+"\n",e);
+				logger.info("parse error\n"+rawHead.trim()+"\n",e);
 				String msg = e.toString();
 				if( contentType != null )
 					msg = "invalid content for content-type " + contentType + "\n" + msg;