Hi there,
we have an old logger, an "homemade" one and now we want to switch our
logging to log4j.
We have to cope with the old one for the future as all the model
software written until now can't be rewritten to suite the old log.
Moreover we want a more powerful Logger class, as we must hold infos as
userAddress userName and so on.
In this scenario i thought to extend log4j and create my own Logger
class, in this way i can use all the log4j features and specialize
behaviour as we want.
I would like to have a common interface as i can see this new Logger by
this interface in my new model software where it arrives after been
created by a servlet (which will be responsible of setting extra infos)
whilst for the old software can be seen as the old logger.
So it would be
Logging interface (which?) Old logger
^ ^
| |
My new Logger
But the point is that i can't see any interface implemented by log4j as
i hoped...
In fact i tuought it would have been a Logging interface implemented by
log4j and java.util.working...
That's not truth unfortunately.
What do you suggest?
Thanks
Fabrizio Squittieri - Programmatore
Sistema informativo - Comune di Prato
Via Cairoli 16 - Prato
0574615275
[EMAIL PROTECTED]
[EMAIL PROTECTED]