Bug 59950

Summary: Incorrect variables in upgradeHandler.pruneIncomplete log message
Product: Tomcat 8 Reporter: Chris Sainty <apache>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: 8.5.x-trunk   
Target Milestone: ----   
Hardware: All   
OS: All   

Description Chris Sainty 2016-08-05 13:57:58 UTC
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
Comment 1 Mark Thomas 2016-08-09 16:41:20 UTC
Thanks for the report.

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