Nihir wrote:
Hi all,
Is it possible to see the complete URI (including the query string) in
the cocoon access.log file?
Currently following is the snapshot the configuration in logkit.xconf:
----------------
<cocoon id="access">
<filename>${context-root}/WEB-INF/logs/access.log</filename>
<format type="cocoon">
%7.7{priority} %{time} [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
</format>
<append>false</append>
</cocoon>
------------
This is the sample of the log that is recorded in access.log
-------------
DEBUG (2004-11-15) 12:44.27:352 [access] (/abc/test.pdf)
PoolThread-1/AbstractEnvironment: Reset context to
file:/home/cocoon/cocoon-2.1.5.1/build/webapp/
---------------
We would like to see the query string also that is being passed. e.g.
the actual request looks like this: /abc/test.pdf?bookid=123.
We don't see the 'bookid=123' in the log right now.
This would really help us in debugging as we can easily identify and
trace the thread belonging to this request.
Any help is greatly appreciated and thanks in advance!
core.log logs all request parameters
--
Leszek Gawron [EMAIL PROTECTED]
Project Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]