You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2005/04/25 15:15:34 UTC
svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Author: lgawron
Date: Mon Apr 25 06:15:33 2005
New Revision: 164568
URL: http://svn.apache.org/viewcvs?rev=164568&view=rev
Log:
exceptions are not logged anywhere
Modified:
cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Modified: cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/WEB-INF/logkit.xconf?rev=164568&r1=164567&r2=164568&view=diff
==============================================================================
--- cocoon/trunk/src/webapp/WEB-INF/logkit.xconf (original)
+++ cocoon/trunk/src/webapp/WEB-INF/logkit.xconf Mon Apr 25 06:15:33 2005
@@ -74,7 +74,7 @@
| Please mind that the default format logs request uri along with
| query string. This may log confidential data (passwords etc.).
+-->
- <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
+ <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{throwable}</format>
<!--format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{throwable}</format-->
<!--+
Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Posted by Leszek Gawron <lg...@mobilebox.pl>.
Vadim Gritsenko wrote:
> lgawron@apache.org wrote:
>
>> Author: lgawron
>> Date: Mon Apr 25 06:15:33 2005
>> New Revision: 164568
>>
>> URL: http://svn.apache.org/viewcvs?rev=164568&view=rev
>> Log:
>> exceptions are not logged anywhere
>>
>> - <format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
>> + <format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}:
>> %{message}\n%{throwable}</format>
>> <!--format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}:
>> %{message}\n%{throwable}</format-->
>
>
> rootThrowable probably is better; and can you please update
> documentation (comments above this line) as well?
ok
--
Leszek Gawron lgawron@mobilebox.pl
IT 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
Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Leszek Gawron wrote:
> what is the difference between rootThrowable and throwable? Does the
> first one support chained exceptions or is it something else?
rootThrowable prints cause exception (as defined by
ExceptionUtils.getRootCause); throwable prints full exception chain.
Vadim
Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Posted by Leszek Gawron <lg...@mobilebox.pl>.
Vadim Gritsenko wrote:
> lgawron@apache.org wrote:
>
>> Author: lgawron
>> Date: Mon Apr 25 06:15:33 2005
>> New Revision: 164568
>>
>> URL: http://svn.apache.org/viewcvs?rev=164568&view=rev
>> Log:
>> exceptions are not logged anywhere
>>
>> - <format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
>> + <format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}:
>> %{message}\n%{throwable}</format>
>> <!--format type="cocoon">%5.5{priority} %{time} [%{category}]
>> (%{uri}%{query}) %{thread}/%{class:short}:
>> %{message}\n%{throwable}</format-->
>
>
> rootThrowable probably is better; and can you please update
> documentation (comments above this line) as well?
what is the difference between rootThrowable and throwable? Does the
first one support chained exceptions or is it something else?
--
Leszek Gawron lgawron@mobilebox.pl
IT 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
Re: svn commit: r164568 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Posted by Vadim Gritsenko <va...@reverycodes.com>.
lgawron@apache.org wrote:
> Author: lgawron
> Date: Mon Apr 25 06:15:33 2005
> New Revision: 164568
>
> URL: http://svn.apache.org/viewcvs?rev=164568&view=rev
> Log:
> exceptions are not logged anywhere
>
> - <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
> + <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{throwable}</format>
> <!--format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{throwable}</format-->
rootThrowable probably is better; and can you please update documentation
(comments above this line) as well?
Thanks,
Vadim