Perhaps this should be part of the web.xml but commented out and with a small note. Also, the filter could be bootstrapped by default but set active=false... This way, if someone wants to use it they can set the filter active=true and uncomment web.xml section pertainint to the listener...
On the other hand, if this is more of an internal tool you may choose to keep the web.xml and server/filter configuration "clean" and just document the option somewhere.. Thanks Amir > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 27, 2007 9:56 AM > To: [email protected] > Subject: [magnolia-dev] [JIRA] Resolved: (MAGNOLIA-1608) A > simple tool to help debugging session issues > > [ http://jira.magnolia.info/browse/MAGNOLIA-1608?page=all ] > > Grégory Joseph resolved MAGNOLIA-1608. > -------------------------------------- > > Resolution: Fixed > > available on svn. > To enable the listener, add the following to web.xml > <listener> > > <listener-class>info.magnolia.debug.SessionDebugger</listener-class> > </listener> > > To enable the filter, just register it in Magnolia's filter > chain, ideally as the first one. > > Be careful, this logs A LOT (and in WARN mode, just to make > sure it's really annoying ;) ) > > > > > A simple tool to help debugging session issues > > ---------------------------------------------- > > > > Key: MAGNOLIA-1608 > > URL: http://jira.magnolia.info/browse/MAGNOLIA-1608 > > Project: Magnolia > > Issue Type: New Feature > > Components: core > > Reporter: Grégory Joseph > > Assigned To: Grégory Joseph > > Priority: Trivial > > Fix For: 3.1 M2 > > > > > > A filter / session listener can sometimes be useful for > debugging session issues. > > We'll just a simple implementation of such a tool, so it > can be added in the filter chain and listeners when needed. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the > administrators: http://jira.magnolia.info/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
