[Opensource] Expresso 5.1 Logging Names

Michael Rimov rimovm at centercomp.com
Sun Dec 29 08:45:57 PST 2002


Hey All,

Sometimes things seem like a good idea at the time and don't pan out in the 
end... I've been thinking that the current naming convention for the 
Expresso log categories falls into this arena.  Instead of making log names:

Logger.getLogger("expresso.core.dbobj.DBObject");

It would be so much 'nicer' IMO to have it as:
Logger.getLogger(DBObject.class);

Because Expresso defines a root logger, there won't be any API issues for 
folks if they continue to use the 'older' way in their code, it would just 
shift the logging configuration file around some.

Does anybody have any objections to this switch for Expresso 5.1??

Thanks,
						-Mike





More information about the Opensource mailing list