I'm still not fully comfortable with the logging in Avalon. The reason
is that I can't get CascadingThrowables and the new getTime/getRTime
functionality to work at the same time. I'd like to change
org.apache.avalon.framework.AvalonFormatter, but before I do this, I'd
like to get your approval.

AvalonFormatter currently contains a method getTime() that masks the new
features recently introduced in LogKit CVS. I see two possibilities to
resolve this:
1. To maintain backwards compatibility I could snip out getStackTrace()
and create a parent class to AvalonFormatter (ex.
CascadingExPatternFormattern. Give me a better name if you have one!).
AvalonFormatter would then only contain a getTime() method.
2. If the current getTime() method is not so important, we could just
delete it. (I prefer that one)

On top of that I would like to change
org.apache.avalon.excalibur.logger.factory.FormatterFactory so it can
set a "depth" property (See ExceptionUtil) for the AvalonFormatter (or
its base class) to control the rendering of exceptions.

Thanks!

Cheers
Jeremias M�rki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to