On 4/4/02 5:15 PM, "Richard Sitze" <[EMAIL PROTECTED]> wrote:

> OK then, let's see what happens:
> 
> I PROPOSE that the classes in commons logging be rearranged as follows:
> 
> no change:
>  org.apache.commons.logging.Log
>  org.apache.commons.logging.impl.Jdk14Loger.java
>  org.apache.commons.logging.impl.Log4JCategoryLog.java
>  org.apache.commons.logging.impl.LogKitLogger.java
>  org.apache.commons.logging.impl.NoOpLog.java
>  org.apache.commons.logging.impl.SimpleLog.java
> 
> rename package, and add JavaDoc to explain or confuse as appropriate:
>  org.apache.commons.logging.factory.LogFactory
>  org.apache.commons.logging.factory.LogSource  (deprecate?)
>  org.apache.commons.logging.factory.impl.LogFactoryImpl
>  org.apache.commons.logging.factory.impl.LogConfigurationException
>  org.apache.commons.logging.factory.impl.Log4jFactoryImpl

Isn't this just rearranging the deck chairs?  The problem, for me anyway,
still exists...

All I want is a base 'commons component' with two interfaces (ok maybe more
than two - three)

  o.a.c.genericlog.Log
  o.a.c.genericlog.LogUser
  o.a.c.genericlog.LogFactory

Where Log and LogFactory are just like the o.a.c.l interfaces, and  LogUser
has a single method

   setLogFactory( LogFactory );

That's it.

Then, if this gives me what I think it does, and if people grok what I was
trying to do, I would then propose

  o.a.c.l.Log extends o.a.c.genericlog.Log

  o.a.c.l.LogFactory extends o.a.c.genericllog.LogFactory

So thus, nothing changes for anyone or anything using o.a.c.l, but then
there would exist :

1)  o.a.c.gl : a generic, lightweight contract for logging with the marker
interface I think would be useful.

2) o.a.c.l :  multi-impl implementation of o.a.c.gl



-- 
Geir Magnusson Jr.                                     [EMAIL PROTECTED]
System and Software Consulting
The question is : What is a Mahnamahna?


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

Reply via email to