On Wed, 2007-08-08 at 08:28 -0600, Alex Rousskov wrote:
> Hi,
> 
>       Any objections to setting the default formatting flags for the Squid3
> debugs() stream to "fixed" with a 2-digit precision? It would help to
> convert cache.log messages like
> 
>       Took 6.6 seconds (3.5e+03 objects/sec).
> 
> into more readable/usable
> 
>       Took 7.12 seconds (3147.13 objects/sec).
> 
> without modifying the debugs() statements themselves (which is actually
> impossible for flags like ios::fixed that do not have a stream
> manipulator).
> 
> The patch is quoted below. Any other flags we should set by default? 
> 
> If there are no objections, I will commit the patch.

+1

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to