On Nov 30, 2006, at 6:45 AM, Thomas Thomas wrote:
Hi,
In my web application I have a "log4j.properties" in "C:\UserTemp
\crawlerdata\helloworld"
I have also a diretory "log" in "C:\UserTemp\crawlerdata\helloworld"
I have, in the file " log4j.properties", these lines :
# Path of the log-file
log4j.appender.file.File=log/myLog.log
But whern I run my program and when it executes this line :
PropertyConfigurator.configure(C:/UserTemp/crawlerdata/helloworld/
log4j.properties);
I have the following exceptions, can someone help me please ?
[30/11/06 11:58:31:457 CET] 64899f05 SystemErr R log4j:ERROR
setFile(null,true) call failed.
[30/11/06 11:58:31:457 CET] 64899f05 SystemErr R
java.io.FileNotFoundException: log\regain.log (The system cannot
find the path specified)
Looks like this should have been posted on log4j-user, not log4cxx-
user. But looks like you got your question answered.