[prev in list] [next in list] [prev in thread] [next in thread]
List: log4cxx-user
Subject: Re: log4j:ERROR setFile(null,true) call failed.
From: renny.koshy () rubixinfotech ! com
Date: 2006-11-30 13:31:03
Message-ID: OF57BD507E.CC70A222-ON85257236.004A04D5-85257236.004AAB53 () rubixinfotech ! com
[Download RAW message or body]
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"
<debussy007@gmail
.com> To
"Log4CXX User"
11/30/2006 08:28 <log4cxx-user@logging.apache.org>
AM cc
Subject
Please respond to Re: log4j:ERROR setFile(null,true)
"Log4CXX User" call failed.
<log4cxx-user@log
ging.apache.org>
With the absolute path it works,
but if I redeploy to other server I will need to modify the file ...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic