[Yanel-dev] Boost Logging

baszero at gmail.com baszero at gmail.com
Mon Apr 11 13:16:41 CEST 2011


what is the difference between tags and actions!
i assumed that actions are logged identically, eg "action=buy" ?

cheers
balz


_____________________
CTO
www.zwischengas.com

Sent from my iPhone
My latest Fotos: 
http://tinyurl.com/lm2010pics

On 11.04.2011, at 12:12, Michael Wechner <michael.wechner at wyona.com> wrote:

> Hi
> 
> Currently the Yanel Servlet is doing the access logging, whereas it asks the resources re the AnnotatableV1 interface in order to get tags.
> 
> This is not always meaningful for Boost (e.g. in the case of the homepage) and also
> we need to pass in actions, e.g.
> 
> - add2cart
> - buy
> 
> Also for custom logging one currently is tempted to log directly  as for example the contact resource does
> 
> src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/contactform/ContactResource.java
> 
> which is not that good either.
> 
> Hence I would suggest that we introduce an AccessLoggableV1 interface, which each resource can
> implement if a more sophisticated logging is necessary than what the YanelServlet does.
> 
> I have not thought about the methods much yet, but we definitely need something for the tags, e.g.
> 
> String[] AccessLoggableV1#getTags()
> 
> and for the action(s)
> 
> String[] AccessLoggableV1#getActions()
> 
> Any other suggestions?
> 
> Thanks
> 
> Michael
> -- 
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development


More information about the Yanel-development mailing list