Felix Knecht wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vadim Gritsenko schrieb:
[EMAIL PROTECTED] wrote:
Make method getLogger() visible for extending
-    private Log getLogger() { +    protected Log getLogger() {
Felix,

As far as commons logging usage pattern goes, extending classes
should create own instances of the log, otherwise log will get
really confusing, with class name of one class and message from
another class.

I see. But in this case we also can avoid the private method
'getLogger()' and use the defined class logger directly without going
the long way round getLogger() ?

I think reason getLogger() was added simply to avoid many small changes to the 
file.

Vadim

Reply via email to