giulianoranalli / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

Wrong apache log level name in use #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Simple patch:

--- src/mod_pywebsocket/headerparserhandler.py.orig     2011-11-14 
00:20:01.810654518 +0400
+++ src/mod_pywebsocket/headerparserhandler.py  2011-11-14 00:20:42.057454272 
+0400
@@ -230,7 +230,7 @@

         request.log_error('mod_pywebsocket: %s\n%s' %
                           (e, util.get_stack_trace()),
-                          apache.APLOG_ERROR)
+                          apache.APLOG_ERR)
         # Unknown exceptions before handshake mean Apache must handle its
         # request with another handler.
         if not handshake_is_done:

Original issue reported on code.google.com by onokonem on 13 Nov 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Fixed. Thank you for reporting.

Original comment by tyoshino@chromium.org on 15 Nov 2011 at 9:11