> Hi, > > I have turned on daily log rolling in ASSP and it's occurring at 4:00 PM my > time (PST), which corresponds with midnight UTC. How do I change this so > that log rolling occurs at midnight local (PST) time , or any other time for > that matter? I'm assuming it's in assp.pl, but I'm not sure what I'm > looking for. > > I'm running ASSP 1.2.4(0) on Windows 2003. > > Thanks, > > [EMAIL PROTECTED] >
in assp.pl, change line: my $t=int(time()/($LogRollDays*24*3600)); # roll log every 14 days to (this is one line, too): my $t=int((time()+Time::Local::timelocal(localtime())-Time::Local::timelocal(gmtime()))/($LogRollDays*24*3600)); # roll log every $LogRollDays days, at midnight Przemek ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
