logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonnathi, Venkat Ramana" <venkat.sonna...@il.proquest.com>
Subject LogHelper (wrapper) clarification.
Date Tue, 01 Jan 2002 21:58:17 GMT
Excuse me for the previous posting. Here's it is again with the updated
subject.

Hi Ceki,

I was reading the manual on Log4J site. I could not understand the following
warning under "IBM Websphere" section:

"Though the Redbook is undoubtedly motivated by the most noble intentions, I
strongly discourage you from adopting its intialization wrapper (LogHelper)
approach. The wrapper solution is highly intrusive and goes against the
"separation of usage and configuration principle" so dear to log4j. This
approach unfortunately continues to be suggested by well-meaning log4j
users."

By following this approach one will be insulating their code from the
logging code and hence more desirable (at least to me). The LogHelper class
mentioned in the Redbook does give you most of the functionality.

Any insights would be really appreciated.

Thanks,
--Venkat

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message