From: James A. <the...@ya...> - 2003-08-13 19:01:36
|
The thing I'm unsure about is how do I go about doing this. What I mean to say is that since the code for doing the logging isn't in my actual test that I wrote, how do I access it to do the overriding? Which seems possible after looking through the javaDoc's. I'm not sure if I'm being concise enough or not. If not, let me know and I'll try to explain what I'm thinking a little better. - James --- Mike Bowler <mb...@Ga...> wrote: > James Asher wrote: > > I don't have the log4j jar in my classpath > anymore, > > yet it keeps trying to use it to log with it. > > > > This is the specific error: > > [junit] ------------- Standard Error > ----------------- > > [junit] log4j:ERROR setFile(null,true) call > > failed. > > [junit] java.io.FileNotFoundException: > > /usr/local/keas/webtech/logs/keas/debug.log > > (Permission denied) > > > > The jar is present when I compile, but not when i > run, > > does that matter? > > I would guess that log4j *is* still in your > classpath even though you > think you've removed it. The check for log4j is > done only at runtime so > it's the runtime classpath you need to check. > > I believe that it's possible to override the default > implementation so > that it won't even do the check for log4j but I > can't recall exactly how > to do that. It would be in the commons-logging > documentation. > > -- > Mike Bowler > Principal, Gargoyle Software Inc. > Voice: (416) 822-0973 | Email : > mb...@Ga... > Fax : (416) 822-0975 | Website: > http://www.GargoyleSoftware.com > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > HtmlUnit-develop mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-develop __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |