log4j

Amedee Van Gasse (ub) amedee-ubuntu at amedee.be
Thu Jul 8 12:53:28 UTC 2010


On Thu, July 8, 2010 12:25, Kaushal Shriyan wrote:
> Hi,
>
> Is there a way to run log4j appender at a specified time?
>
> log4j.rootLogger=INFO, R
> log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.R.File=${catalina.home}/logs/catalina.out
> log4j.appender.R.DatePattern='.'yyyy-MM-dd
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
>
> I have put the log4j.properties under /opt/tomcat0/common/classes
>
> Please suggest.
>
> Thanks and Regards
>
> Kaushal

Hello Kaushal,

This is a mailing list for Ubuntu users.
There are a few Java developers here (myself included) but they are a
minority.
I think that you'd better ask your question on the log4j mailing list:
log4j-user at logging.apache.org
More info on http://logging.apache.org/log4j/1.2/mail-lists.html


Kind regards,

-- 
Amedee





More information about the ubuntu-users mailing list