Norman Maurer
Sat, 21 Nov 2009 05:51:15 -0800
Comments inside...Am 21.11.2009 um 05:10 schrieb Simon Funnell <simonfunn...@googlemail.com >:
Hi,Aspectj is an example of how you could add logging to James components later in the inheritance chain. Tools already exist, all you need to do is accept this simple fact. If components have explicit logging operations, they are flawed. Nothing do with me or anyone, its a just a fact. The solution is to write methods without logging code, then add it later with a decent aspect orientated framework or the like. Its really that simple.
Im still not agree with you about that. Imho logging should be part of the "main code". And why is this any better then injecting the Logger like every other object. In trunk we even use JSR250 for that so every Franework which knows howto handle this Standards should just work...
Are you not bored of explicitly writing logging code in every component?
Nope im not bored.
All I am asking is for you to embrace best practice :) but I respect the fact people have jobs as well and that this needs to be accounted for in the development cycle.Regards, Simon
Bye NormanPs: Why you change the subject of the Mail Everytime.
--------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org