cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@fztig938.bank.dresdner.net>
Subject [C2 patch] DebugAction.java
Date Fri, 13 Jul 2001 12:43:38 GMT
Hi All,

	Hope all is well.

	Attached is a new action for help with debugging and development. It's
	called DebugAction. All it does is log everything do with the current
	request (request info, parameters, remost host info, session
	attributes, etc).

	I've found it useful to see what's going on when developing/debugging
	large applications. Maybe it's of use for others.

	The log output looks like:

DEBUG   11596   [cocoon  ] (Thread-15): org.apache.cocoon.acting.DebugAction: DEBUGGING INFORMATION:
REQUEST: /cocoon/debug

CONTEXT PATH: /cocoon
SERVLET PATH: /debug
PATH INFO: null

REMOTE HOST: localhost
REMOTE ADDRESS: 127.0.0.1
REMOTE USER: null
REQUEST SESSION ID: null
REQUEST PREFERRED LOCALE: en
SERVER HOST: localhost
SERVER PORT: 9001

METHOD: GET
CONTENT LENGTH: -1
PROTOCOL: HTTP/1.0
SCHEME: http
AUTH TYPE: null

REQUEST PARAMETERS:

PARAM: 'a' VALUE: 'b'
PARAM: 'c' VALUE: 'd'

SESSION ATTRIBUTES:

	Feel free to add whatever details you think might be useful.

	Cheers,

	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:

Mime
View raw message