From: Eric B. <eri...@ho...> - 2002-01-14 21:52:48
|
>Make sure that the following line is in your main() method: > >LogManager.setLoggerClassName("com.anthonyeden.lib.log.Log4JLogger"); > >It should really be the very first line in the main() method. > >The default logger is actually just a System.out logger and it does not >understand property file configuration. I am considering making Log4J the >default logger in the LogManager...what do you think? Yes. Why the LogManager, to support more than one Logger component? I think the better way, it to let entirely the job to Log4J, by removing the LogManager step. Not because the code is not correct, but this class don't give value added. Actually, by logging all at the console, the problem here, it slow down considerably the validation process. Because all are logged in the System.out and this one is a Synchronized method ... With one Thread, it's not a problem, but when you have a lot of it, it can be a bottleneck. This what I think, correct me if I'm wrong. Do you accept contributor in your Open Source? Or do you prefer than we send you the code and you will do the update? Thanks. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |