You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/08/05 13:57:58 UTC

[Bug 59950] New: Incorrect variables in upgradeHandler.pruneIncomplete log message

https://bz.apache.org/bugzilla/show_bug.cgi?id=59950

            Bug ID: 59950
           Summary: Incorrect variables in upgradeHandler.pruneIncomplete
                    log message
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: apache@saintymail.com

http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/coyote/http2/LocalStrings.properties?view=markup#l107

The log message "upgradeHandler.pruneIncomplete" uses {0} twice instead of {0}
and {1}.
So you can't see how many streams were not pruned.

You can see here how two variables are passed in -
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/coyote/http2/Http2UpgradeHandler.java?view=markup#l1016

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59950] Incorrect variables in upgradeHandler.pruneIncomplete log message

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59950

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report.

Fixed in 9.0.x for 9.0.0-M10 and 8.5.x for 8.5.5 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org