Hi Marcus,
I just added the code of your valuable actions to the core
of cocoon and not the action itself. This enables the
logging for each request without changing the sitemap.
I hope you like this approach...
Thanks for the patch!
Carsten
Open Source Group sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de mailto: [EMAIL PROTECTED]
================================================================
> -----Ursprungliche Nachricht-----
> Von: Marcus Crafter [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 13. Juli 2001 14:44
> An: Cocoon Developers Mailing List
> Betreff: [C2 patch] DebugAction.java
>
>
> 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 : [EMAIL PROTECTED]
> &&&&. Business Hours : +49 69 9757 200
> &&&&&&&:
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]