CALL FOR: org.mmbase.util.logging.java
Called by: Michiel Meeuwissen Total tally on this call : +5
START OF VOTING: 2005-01-24 13:30 END OF CALL: 2005-01-27 13:30
YEA (5) : Daniel Ockeloen, Gerard van Enk, Marcel Maatkamp, Rob van Maris, Rico Jansen
ABSTAIN (3) : Johannes Verelst, Kees Jongenburger, Pierre van Rooden
NAY (0) :
VETO (0) :
No votes, assumed abstained (8): Eduard Witteveen, Jaco de Groot, Andre van Toly, Rob Vermeulen, Nico Klasens, Mark Huijser, Ernst Bunders
Result: The vote succeeded, the package can be added.
Michiel Meeuwissen wrote:
CALL FOR: New package org.mmbase.util.logging.java.
Since MMBase 1.7 we are using java 1.4. In java 1.4 there is a logging framework (java.util.logging).
I want to add support for this logging framework in a new package
org.mmbase.util.java.
I think there are two things which you may want:
Make MMBase log with java.util.logging.Logger's. This is possible with the 'Impl' class of this package, which can be configured in log.xml, and an own property file. So, this wraps java.util.logging.Logger in org.mmbase.util.logging.Logger.
You have some class which asks for a java.util.logging.Logger where it will log to, and you want it to log to the MMBase log. For this, the 'MMBaseLogger' class is meant. So, this wraps org.mmbase.util.logging.Logger in java.util.logging.Logger.
So these are the classes I want to include in this package for now. I am no experienced user in java.util.logging, so obviously bugfixes may follow. The LoggerWrapper I actually needed for a projectq, the 'Impl' class I only tested briefly with the ConsoleHandler of java.util.logging. The general contract wants to be that org.mmbase.util.logging.java contains classes related to java.util.logging.
This change is for MMBase 1.8.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Anything worth doing is worth overdoing."
_______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
