On Jun 27, 2007, at 17:01 , Amir Mistric wrote:

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..

Yeah, I saw this as a "hey someone's calling at midnight, I need a quick way of seeing what's wrong" type of solution, rather than a tool to be used on a regular basis ;)

Somehow I'm afraid if we "show" this in the default configuration, people will enable it out of curiosity, see nothing happening, and wonder why, 2 months later, their log files have grown to gigabytes ;) (You'd maybe be surprised how many times a week we have to ask if people checked their log files before asking what was wrong...)

Cheers

g



-----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
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to