<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wicket&#8217;s RequestLogger</title>
	<atom:link href="http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/</link>
	<description>Juist! Volkomen Juist!</description>
	<lastBuildDate>Wed, 04 Aug 2010 15:13:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Verhage</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-751</link>
		<dc:creator>Verhage</dc:creator>
		<pubDate>Wed, 23 Sep 2009 20:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-751</guid>
		<description>Use additivity=false in your log4j.xml.

Bet you&#039;ve configured some loggers up in the hierarchy along org.apache.wicket.</description>
		<content:encoded><![CDATA[<p>Use additivity=false in your log4j.xml.</p>
<p>Bet you&#8217;ve configured some loggers up in the hierarchy along org.apache.wicket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanovich</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-511</link>
		<dc:creator>Stefanovich</dc:creator>
		<pubDate>Sun, 26 Jul 2009 12:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-511</guid>
		<description>Hmm I don&#039;t know. Anyone else?</description>
		<content:encoded><![CDATA[<p>Hmm I don&#8217;t know. Anyone else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avner Linder</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-510</link>
		<dc:creator>Avner Linder</dc:creator>
		<pubDate>Sun, 26 Jul 2009 12:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-510</guid>
		<description>Here&#039;s the call-hierarchy again (copied from eclipse), this time more readable (i hope):
&lt;code&gt;
logResponseTarget(IRequestTarget) - org.apache.wicket.protocol.http.WebApplication
  respond(RequestCycle) - org.apache.wicket.request.AbstractRequestCycleProcessor
    processEventsAndRespond() - org.apache.wicket.RequestCycle
       step() - org.apache.wicket.RequestCycle
    respond() - org.apache.wicket.RequestCycle
       step() - org.apache.wicket.RequestCycle
&lt;/code&gt;

You can see that &lt;code&gt;respond()&lt;/code&gt; is the only caller of &lt;code&gt;logResponseTarget()&lt;/code&gt;.
You can also see that &lt;code&gt;respond()&lt;/code&gt; is being called twice from the &lt;code&gt;step()&lt;/code&gt; method, once for each step.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the call-hierarchy again (copied from eclipse), this time more readable (i hope):<br />
<code><br />
logResponseTarget(IRequestTarget) - org.apache.wicket.protocol.http.WebApplication<br />
  respond(RequestCycle) - org.apache.wicket.request.AbstractRequestCycleProcessor<br />
    processEventsAndRespond() - org.apache.wicket.RequestCycle<br />
       step() - org.apache.wicket.RequestCycle<br />
    respond() - org.apache.wicket.RequestCycle<br />
       step() - org.apache.wicket.RequestCycle<br />
</code></p>
<p>You can see that <code>respond()</code> is the only caller of <code>logResponseTarget()</code>.<br />
You can also see that <code>respond()</code> is being called twice from the <code>step()</code> method, once for each step.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avner Linder</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-509</link>
		<dc:creator>Avner Linder</dc:creator>
		<pubDate>Sun, 26 Jul 2009 12:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-509</guid>
		<description>Hi,
I&#039;ve tried activating the RequestLogger and in many cases duplicate entries appear at the log file for the same request, for example:
&lt;code&gt;
2009-07-26 15:00:32,224 INFO  - RequestLogger              - time=796,event=null,response=[ResourceStreamRequestTarget[resourceStream=org.apache.wicket.markup.html.DynamicWebResource$1@137937,fileName=null],sessionid=11jxsgdnkz6c4,sessionsize=54608,sessionstart=Sun Jul 26 15:00:26 IDT 2009,requests=7,totaltime=4789,activerequests=1,maxmem=66M,total=32M,used=19M
2009-07-26 15:00:32,239 INFO  - RequestLogger              - time=796,event=null,response=[ResourceStreamRequestTarget[resourceStream=org.apache.wicket.markup.html.DynamicWebResource$1@1e8c1ec,fileName=null],sessionid=11jxsgdnkz6c4,sessionsize=54608,sessionstart=Sun Jul 26 15:00:26 IDT 2009,requests=8,totaltime=5585,activerequests=2,maxmem=66M,total=32M,used=19M
&lt;/code&gt;

I inspected the call-hierarchy of IRequestLogger.logResponseTarget and found out that it is being called twice by Wicket framework, once for each of the steps: PROCESS_EVENTS and RESPOND

&lt;code&gt;
	logResponseTarget(IRequestTarget) - org.apache.wicket.protocol.http.WebApplication
		respond(RequestCycle) - org.apache.wicket.request.AbstractRequestCycleProcessor
			processEventsAndRespond() - org.apache.wicket.RequestCycle
				step() - org.apache.wicket.RequestCycle
			respond() - org.apache.wicket.RequestCycle
				step() - org.apache.wicket.RequestCycle
&lt;/code&gt;

any ideas how to prevent the duplicate log entries?

I plan to extend the default RequestLogger, and then I could log events only at one of the steps.
However, the RequestLogger doesn&#039;t have access to the &lt;code&gt;RequestCylce.currentStep&lt;/code&gt;

any ideas?

Avner</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;ve tried activating the RequestLogger and in many cases duplicate entries appear at the log file for the same request, for example:<br />
<code><br />
2009-07-26 15:00:32,224 INFO  - RequestLogger              - time=796,event=null,response=[ResourceStreamRequestTarget[resourceStream=org.apache.wicket.markup.html.DynamicWebResource$1@137937,fileName=null],sessionid=11jxsgdnkz6c4,sessionsize=54608,sessionstart=Sun Jul 26 15:00:26 IDT 2009,requests=7,totaltime=4789,activerequests=1,maxmem=66M,total=32M,used=19M<br />
2009-07-26 15:00:32,239 INFO  - RequestLogger              - time=796,event=null,response=[ResourceStreamRequestTarget[resourceStream=org.apache.wicket.markup.html.DynamicWebResource$1@1e8c1ec,fileName=null],sessionid=11jxsgdnkz6c4,sessionsize=54608,sessionstart=Sun Jul 26 15:00:26 IDT 2009,requests=8,totaltime=5585,activerequests=2,maxmem=66M,total=32M,used=19M<br />
</code></p>
<p>I inspected the call-hierarchy of IRequestLogger.logResponseTarget and found out that it is being called twice by Wicket framework, once for each of the steps: PROCESS_EVENTS and RESPOND</p>
<p><code><br />
	logResponseTarget(IRequestTarget) - org.apache.wicket.protocol.http.WebApplication<br />
		respond(RequestCycle) - org.apache.wicket.request.AbstractRequestCycleProcessor<br />
			processEventsAndRespond() - org.apache.wicket.RequestCycle<br />
				step() - org.apache.wicket.RequestCycle<br />
			respond() - org.apache.wicket.RequestCycle<br />
				step() - org.apache.wicket.RequestCycle<br />
</code></p>
<p>any ideas how to prevent the duplicate log entries?</p>
<p>I plan to extend the default RequestLogger, and then I could log events only at one of the steps.<br />
However, the RequestLogger doesn&#8217;t have access to the <code>RequestCylce.currentStep</code></p>
<p>any ideas?</p>
<p>Avner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daan</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-245</link>
		<dc:creator>Daan</dc:creator>
		<pubDate>Sun, 12 Apr 2009 07:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-245</guid>
		<description>Yeah, I have seen the InspectorBug class too. I am building a separate wicket-examples jar (it&#039;s a war now) to check how it works.

- Daan</description>
		<content:encoded><![CDATA[<p>Yeah, I have seen the InspectorBug class too. I am building a separate wicket-examples jar (it&#8217;s a war now) to check how it works.</p>
<p>- Daan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanovich</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-221</link>
		<dc:creator>Stefanovich</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-221</guid>
		<description>Daan, 

Have you already seen the InspectorBug class? (wicket.examples.debug package) I couldn&#039;t found a demo if this functionallity but I am very curious what it exactly does. 

Regards,
Stefan</description>
		<content:encoded><![CDATA[<p>Daan, </p>
<p>Have you already seen the InspectorBug class? (wicket.examples.debug package) I couldn&#8217;t found a demo if this functionallity but I am very curious what it exactly does. </p>
<p>Regards,<br />
Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanovich</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-220</link>
		<dc:creator>Stefanovich</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-220</guid>
		<description>We didn&#039;t plan to do that (yet). Currently we are very busy with a release. I was also thinking to send Martijn a mail. It&#039;s a pitty that it is not open source, because it looked very nice in his presentation.</description>
		<content:encoded><![CDATA[<p>We didn&#8217;t plan to do that (yet). Currently we are very busy with a release. I was also thinking to send Martijn a mail. It&#8217;s a pitty that it is not open source, because it looked very nice in his presentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daan</title>
		<link>http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/comment-page-1/#comment-219</link>
		<dc:creator>Daan</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.volkomenjuist.nl/blog/?p=262#comment-219</guid>
		<description>Hi Stefan,

I am also experimenting with the Wicket RequestLogger, triggered by the presentation of Martijn on the Wicket Meetup.

A few days ago I mailed Martijn if the code for analyzing this logfile is somewhere online. Unfortunately, this isn&#039;t the case.

Are you guys going to invest time in writing a log file analyzer for Wicket logs? Maybe we can collaborate on that?

Regards,

Daan</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I am also experimenting with the Wicket RequestLogger, triggered by the presentation of Martijn on the Wicket Meetup.</p>
<p>A few days ago I mailed Martijn if the code for analyzing this logfile is somewhere online. Unfortunately, this isn&#8217;t the case.</p>
<p>Are you guys going to invest time in writing a log file analyzer for Wicket logs? Maybe we can collaborate on that?</p>
<p>Regards,</p>
<p>Daan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
