From: Mike B. <mb...@Ga...> - 2003-08-13 17:07:04
|
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 |