[Seaside] Seaside Access/Activity Logging

Sven Van Caekenberghe sven at beta9.be
Tue Aug 24 10:10:26 UTC 2010


Hi Bart,

I am trying to understand your code but I am having some trouble finding my way ;-)
Anyway, is "decorating your callbacks" a manual process that you have to do for each callbaclk ?
If so, that would not really solve my problem...

Thx for the reply!

Sven

On 24 Aug 2010, at 08:13, Bart Gauquie wrote:

> Hi,
> 
> What I've already 'hacked' in seaside is decorating all callbacks that can happen.
> I've used the decorating to capture all errors during callbacks and collect them and show them on a notificationarea.
> my code is at: http://www.squeaksource.com/NotificationsArea
> 
> Maybe you can use the same trick to log all callbacks?
> 
> Kind Regards,
> 
> Bart
> 
> On Mon, Aug 23, 2010 at 11:57 PM, Sven Van Caekenberghe <sven at beta9.be> wrote:
> Hi All,
> 
> In standard (non-heritic) web application frameworks, simple access logging is quite useful to find out how your app is used in the wild. The problem with Seaside is that most requests look pretty much the same and do not contain enough information for after the fact analysis (like http://localhost:8081/welcome?_s=0Sq2_xUpMPSWMOBg.R1&_k=DKeQJiyN2-ye2wCA doesn't say we're on the configuration page).
> 
> Has anyone already 'solved' this 'problem' with some clever hack ? Maybe some filter in the right place with some reflection magic ?
> 
> I guess manually inserting log statements (like augmenting the URL) would be one way...
> 
> Thx,
> 
> Sven
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> -- 
> imagination is more important than knowledge - Albert Einstein
> Logic will get you from A to B. Imagination will take you everywhere - Albert Einstein
> Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Albert Einstein
> The true sign of intelligence is not knowledge but imagination. - Albert Einstein
> However beautiful the strategy, you should occasionally look at the results. - Sir Winston Churchill
> It's not enough that we do our best; sometimes we have to do what's required. - Sir Winston Churchill
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list