Hi,

 

I have an implementation of ApacheFTP server running on UNIX.  I am
trying to get the application to log to a file on the same platform.
Unfortunately it is logging to the console instead.  

 

I have placed the log4j.properties file in the classes directory where
it has worked for me in the past but the server is not reading it there.
I have recently switched to the version that is based on Java 1.4.  Here
is the contents of the file:

 

log4j.rootLogger=ERROR, R 

log4j.appender.R=org.apache.log4j.DailyRollingFileAppender 

log4j.appender.R.File=./res/log/logx.gen 

log4j.appender.R.layout=org.apache.log4j.PatternLayout 

log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n

 

My only hypothesis is that the version of ApacheFTP that I am using uses
slf4j instead of log4j.  This application logs properly on Windows.  Is
there an issue with ApacheFTPServer logging on UNIX?

 

Thanks,

 

Ralph

 

 

 

 

 



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

Reply via email to