----- Original Message ----- From: "Geir Magnusson Jr." <[EMAIL PROTECTED]> [snip] > Just to throw another log on the fire... > > We did too in Velocity-land, and built the following, a while ago : > > 1) Simple interface through which Velocity would happily log into any > supplied class/object that supported that interface. > > 2) 'Autodetection' - when the user didn't specify the logsystem they > preferred, we would look for log4j or logkit in the classpath, and use > whatever we found. That means that you can just put the log4j.jar or > logkit.jar into the classpath, and velocity will automatically log to a file > using that system.
FWIW this is pretty close to what the commons-logger actually is and the itch its trying to scratch. A facade to the 'big 3' logging packages. Just put JDK1.4, log4j or LogKit on your classpath and it'll be used, otherwise System.out gets used. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
