[MAGNOLIA-1608] A simple tool to help debugging session issues Created: 27/Jun/07  Updated: 23/Jan/13  Resolved: 27/Jun/07

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 3.1 M2

Type: New Feature Priority: Trivial
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

A filter / session listener can sometimes be useful for debugging session issues.
We'll just have a simple implementation of such a tool, so it can be added in the filter chain and listeners when needed.



 Comments   
Comment by Oliver Lietz [ 27/Jun/07 ]

Do you know MessAdmin? - http://messadmin.sourceforge.net/

Comment by Magnolia International [ 27/Jun/07 ]

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 )

Comment by Magnolia International [ 27/Jun/07 ]

Hey Oliver - thanks, I didnt know MessAdmin. I had the class ready here, just had to clean it up a bit to make it commitable, it's dumb tool, but takes half a second to setup and save my life last night.
MessAdmin is probably a bit more complex to setup and/or learn to use, but is also probably more helpful in more complex cases

Generated at Mon Feb 12 03:28:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.