Ok -- so the problem is in the directory that is current when the server runs, there is no "log" sub-directory. You need to figure out what directory is "current" when the web-app is running, and then write your file path as a relative path.
Let's say your server is running from C:/a/b/c as the current directory
(maybe there was a "cd a/b/c" in the batch file that started it) and the
logs directory is in b/logs, then you need to write your path as "../logs"
(since the 'current' directory of the server is "c").
Renny Koshy
President & CEO
--------------------------------------------
RUBIX Information Technologies, Inc.
www.rubixinfotech.com
"Thomas Thomas"
<[EMAIL PROTECTED]
.com> To
"Log4CXX User"
11/30/2006 08:28 <[email protected]>
AM cc
Subject
Please respond to Re: log4j:ERROR setFile(null,true)
"Log4CXX User" call failed.
<[EMAIL PROTECTED]
ging.apache.org>
With the absolute path it works,
but if I redeploy to other server I will need to modify the file ...
