[Yanel-dev] Boost access log file format
Michael Wechner
michael.wechner at wyona.com
Mon Jun 28 17:42:18 CEST 2010
Michael Wechner wrote:
> Hi
>
> Cedric pointed out to me that it might make sense to have a different
> format for the boost access log. It currently reads
>
> Date, log-level, URL, realm-id, boost-cookie, user (if available),
> Referer, User-Agent, E-Mail (if available)
>
> whereas the relevant code re email is at
>
> src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/contactform/ContactResource.java
>
> logAccess.info(org.wyona.yanel.servlet.AccessLog.getLogMessage(request,
> getRealm().getID()) + " e-mail:" + request.getParameter("email"));
btw, you can configure the email within
src/realms/yanel-website/res-configs-repo/data/en/contact.html.yanel-rc
conf/local/local.yanel.xml
and test it with
http://127.0.0.1:8080/yanel/yanel-website/en/contact.html
Cheers
Michi
>
> or rather
>
> src/webapp/src/java/org/wyona/yanel/servlet/AccessLog.java
>
> Any suggestions how to improve this format are very welcome ;-)
>
> Thanks
>
> Michi
>
>
More information about the Yanel-development
mailing list