cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: svn commit: r164581 - /cocoon/trunk/src/webapp/WEB-INF/logkit.xconf
Date Tue, 26 Apr 2005 15:10:13 GMT
Jorg Heymans wrote:
> 
> lgawron@apache.org wrote:
> 
>> Author: lgawron
>> Date: Mon Apr 25 07:33:22 2005
>> New Revision: 164581
>>
>> URL: http://svn.apache.org/viewcvs?rev=164581&view=rev
>> Log:
>> use rootThrowable instead of throwable in cocoon.log
>>
>> 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=164581&r1=164580&r2=164581&view=diff

>>
>> ============================================================================== 
>>
>> --- cocoon/trunk/src/webapp/WEB-INF/logkit.xconf (original)
>> +++ cocoon/trunk/src/webapp/WEB-INF/logkit.xconf Mon Apr 25 07:33:22 2005
>> @@ -67,15 +67,16 @@
>>            | Note that newlines are *not* automatic: you have to 
>> specify the
>>            | newline as '\n' or everything will appear on a single line!
>>            |
>> -          | The first format below is less verbose because it won't 
>> print out
>> -          | the error stacktrace (which tend to be very verbose and 
>> for little value).
>> -          | If you need the stacktraces, uncomment the second format 
>> below.
>> +          | The first format below is verbose: it includes error 
>> stacktraces.
>> +          | If you want something even more verbose use %{throwable} 
>> which will
> 
>                                                            ^^^^^^^^^^^^^
> 
>> +          | show a full chain of exceptions. Using the second format 
>> won't
>> +          | output stacktraces at all.
>>            |
> 
> 
> Shouldn't the comment also say "rootThrowable" instead of "throwable" ?

I think its ok. The default is rootThrowable. It is verbose but if you 
want something even more verbose use %{throwable} which will print full 
stacktrace chain.

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

Mime
View raw message