At 01:27 1/5/01 -0700, Ceki Gulcu wrote: > >--- Peter Donald <[EMAIL PROTECTED]> wrote: >> At 02:00 30/4/01 -0700, Morgan Delagrange wrote: >> >I guess I don't really care whether or not there is >> a global "we use >> >LOG4J" proclamation for Commons, but it seems to >> make sense in this >> >case. There seem to be a fair number of "igore >> this error and hope >> >everything is ok" statements that should be >> captured at a lower debug >> >level. HttpClient seems to have a little of its >> own custom logging stuff, >> >but I think LOG4J would be more appropriate. >> >> Depends on how many you want to block from using the >> product ;) >> >> Some projects use logkit (another logging toolkit at >> apache), some use a >> fascade, some will switch when the logging JSR goes >> final ... come to think >> of it I don't know of any that directly use Log4j. >> Consequently you would >> be cutting off a lot of people from using it. >> Cheers, > >Right, using log4j would prevent a lot of people from >using the code in Commons. yep - just like using org.apache.avalon.framework.* or org.apache.turbine.* or ... Do you remember the discussion at the begining of this project on the whys/hows - if you had a problem with it you should have spoken up then. Theres at least a few projects that just wouldn't use it due to that dependency (at least 3 that I can vouch for) and there is a few other would have difficulty with it because they hide logging behind a fascade and log4j is just one of the possible logging impls. >Log4j is such a difficult package to use. 2 for 2. Ask youself why most projects that use log4j, use it behind a fascade. Wrapping it behind a fascade goes against the use case that everyone uses (see libc on most platforms and they have some sort of syslog or ntlog style functionality). What would be your answer to this? >Sorry but I don't have more time to write a proper answer. But you do have enough time to troll ... funny that ;) Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
