Gary: I will investigate your suggestion.
Thank you. John Jones cirrhus9.com On 03/21/2014 08:26 PM, Gary Gregory wrote: > What happens if you try the latest bug fix version: 1.2.17? > > Gary > > > On Thu, Mar 20, 2014 at 3:43 PM, JJ <[email protected]> wrote: > >> Greetings to the list: >> >> We have a log4j v.1.2.14 on my CentOS 6.4 host with tomcat v6.0.24 >> >> Our Application Servlet is version 2.5 and we did not develop this >> application. >> our classes directory has a single log4j.properties with this content: >> log4j.rootLogger=DEBUG, R >> log4j.appender.R = org.apache.log4j.DailyRollingFileAppender >> log4j.appender.R.File = logs/FileServer.log >> log4j.appender.R.Append = true >> log4j.appender.R.DatePattern = '.'yyy-MM-dd >> log4j.appender.R.layout = org.apache.log4j.PatternLayout >> log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} >> %c{1} [%p] %m%n >> >> My concern is that the FileServer.log file is being written to >> /var/log/tomcat6 and not /logs >> >> Following the direction at >> http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j >> specifically, the /Note: /that says >> "These steps are *not* needed if you just want to use log4j in your own >> web application. --- In that >> case, just put |log4j.jar| and |log4j.properties| into |WEB-INF/lib| and >> |WEB-INF/classes| of your web application. >> >> which I have done and bounced the tomcat6 service. >> >> What I notice are these things: >> There is a >> /etc/tomcat6/log4j.properties as well. >> >> the FileServer.log files shows "log5jImp" ? >> 2014-03-20 12:07:21 *Log5jImp* [DEBUG] Starting FileServer Restlet >> Listener.... >> >> Sure could use a hand in getting the FileServer.log file logging to >> /logs/FileServer.log >> >> Thank you for your valuable time. >> Have a Great Day! >> >> -- >> John Jones >> cirrhus9.com >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
