Author: rjung
Date: Sat May 31 12:12:36 2014
New Revision: 1598864
URL: http://svn.apache.org/r1598864
Log:
Reduce log level for "OPTIONS *" requests
from warning to debug.
Modified:
tomcat/jk/trunk/native/common/jk_uri_worker_map.c
tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml
Modified: tomcat/jk/trunk/native/common/jk_uri_worker_map.c
URL:
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_uri_worker_map.c?rev=1598864&r1=1598863&r2=1598864&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/jk/trunk/native/common/jk_uri_worker_map.c Sat May 31 12:12:36 2014
@@ -1093,8 +1093,14 @@ const char *map_uri_to_worker_ext(jk_uri
if (index)
*index = -1;
if (*uri != '/') {
- jk_log(l, JK_LOG_WARNING,
- "Uri %s is invalid. Uri must start with /", uri);
+ if (*uri == '*' && *(uri+1) == '\0' && JK_IS_DEBUG_LEVEL(l)) {
+ /* Most likely an "OPTIONS *" request */
+ jk_log(l, JK_LOG_DEBUG,
+ "Uri %s can't be mapped.", uri);
+ } else {
+ jk_log(l, JK_LOG_WARNING,
+ "Uri %s is invalid. Uri must start with /", uri);
+ }
JK_TRACE_EXIT(l);
return NULL;
}
Modified: tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml?rev=1598864&r1=1598863&r2=1598864&view=diff
==============================================================================
--- tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml Sat May 31 12:12:36 2014
@@ -40,6 +40,17 @@
new documentation project for JK was started.
</p>
</section>
+<section name="Changes between 1.2.40 and 1.2.41">
+ <br />
+ <subsection name="Native">
+ <changelog>
+ <fix>
+ Reduce log level for "OPTIONS *" requests from warning to debug.
+ (rjung)
+ </fix>
+ </changelog>
+ </subsection>
+</section>
<section name="Changes between 1.2.39 and 1.2.40">
<br />
<subsection name="Native">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]