logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From renny.ko...@rubixinfotech.com
Subject Re: log4j:ERROR setFile(null,true) call failed.
Date Thu, 30 Nov 2006 13:31:03 GMT
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 ...


Mime
View raw message