changeset 1770:6c01d54edcac

logging
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 15 Jun 2023 17:55:47 -0600
parents 9d9683e76496
children c62324841dfb
files src/goodjava/webserver/Connection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;