From: James A. <the...@ya...> - 2003-08-13 16:54:22
|
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? --- Mike Bowler <mb...@Ga...> wrote: > James Asher wrote: > > I do have log4j in my classpath, but I don't want > it > > to log anything. I use HtmlUnit with JUnit and > > JUnitReport, so I have report-type information > there. > > > > The reason I'm getting the debug information ( I > > believe ) is because it is trying to write to the > log > > and i don't have permission to it, so it throws a > > FileNotFoundException. > > > > So, I guess, is there any way to turn that all > off? > > That would have to be disabled through the log4j > configuration file. > It's been a long time since I've used log4j so I'm > afraid I won't be > much help here. > > There is no way to disable the messages from within > HtmlUnit itself - > all of that is left up to the logging implementation > (log4j in this case). > > -- > 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 |