mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bernd.fonderm...@googlemail.com>
Subject Re: Logs in the chain ?
Date Thu, 07 May 2009 07:38:41 GMT
On Thu, May 7, 2009 at 09:35, Emmanuel Lecharny <elecharny@apache.org> wrote:
> Bernd Fondermann wrote:
>>
>> On Wed, May 6, 2009 at 19:41, Ashish <paliwalashish@gmail.com> wrote:
>>
>>>>
>>>> as it seems that everybody want to get rid of the svn tags, I guess
>>>> someone
>>>> will go through all the files to remove them. Isn't it a perfect timing
>>>> to
>>>> propose another transverse addition ?
>>>>
>>>> I would like to add some log in all the filters
>>>>
>>
>>
>>>>
>>>> It's always a PITA to debug an application with some filters, as we have
>>>> no
>>>> idea what's going on internally. What would be very helpful is to have a
>>>> log
>>>> trace containing the session ID for each method of each filter we have.
>>>> Currently, if we except the LoggingFilter, we have nothing, nada,
>>>> rien...
>>>>
>>>> wdyt ?
>>>>
>>
>> Sounds like the need for AOP to me.
>>
>
> I didn't want to pronounce this evil buzz word ...
>
> Seriously, you are right, but having experienced some kind of AOP in
> Directory, I would not use it again even if someone pays me :)
>
> AOP : good ideas, crappy implementation + lots of complexity for just
> logging...

ok, then I did every right by staying away from it all the time. :-)

  Bernd

Mime
View raw message