This is not really a gram question. forwarding to gt-user.
As a starting point i would try

http://forum.java.sun.com/thread.jspa?threadID=718743&messageID=4148908
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06422.html

Martin

---------------------------- Original Message ----------------------------
Subject: [gram-user] how to rotate container log by date rather than size?
From:    "Steven Timm" <[EMAIL PROTECTED]>
Date:    Thu, January 10, 2008 3:29 pm
To:      [EMAIL PROTECTED]
--------------------------------------------------------------------------


What changes to $GLOBUS_LOCATION/container-log4j.properties would
be necessary to rotate the container log on a daily basis rather
than a size of file basis?
This is what the VDT installation gave me currently.


# --- Added by the VDT on 2007-12-20 15:00:08 ---
log4j.category.org.opensciencegrid.authz.gt4=INFO
log4j.category.org.globus.wsrf.impl.security.authorization.GridMapAuthorization=
DEBUG
log4j.rootCategory=WARN
log4j.rootLogger=WARN, A1
log4j.appender.A1.MaxBackupIndex=10
log4j.appender.A1.MaxFileSize=10MB
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.layout.ConversionPattern=%d{ISO8601} %-5p %c{2}
[%t,%M:%L] %m%n
log4j.appender.A1.File=/usr/local/vdt-1.8.1/globus/var/container-real.log
log4j.category.org.globus.wsrf.impl.security.authorization.ServiceAuthorizationChain=INFO


-- 
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
[EMAIL PROTECTED]  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.



Reply via email to