Tapestry 5.4 now logs page construction time to the console; can't remember
if it does it at DEBUG or INFO off the top of my head.

This information can be very insightful.

You can also get the same information from the built-in PageCatalog page.

On Fri, Jan 25, 2013 at 7:17 AM, Lance Java <lance.j...@googlemail.com>wrote:

> public class MyResponseWrapper extends
> javax.servlet.ServletResponseWrapper {
>    private int contentLength = -1;
>
>    public MyResponseWrapper(ServletResponse response) {
>       super(response);
>    }
>
>    public void setContentLength(int cl) {
>       super.setContentLength(cl);
>       this.contentLength = cl;
>    }
>
>    public int getContentLength() {
>       return contentLength;
>    }
> }
>
>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719536.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to