Mon Mar 12 15:17:21 PDT 2007
- Previous message: [Slony1-commit] slony1-engine/tools/altperl slon-tools.pm
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.8 configure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tools/altperl
In directory main.slony.info:/tmp/cvs-serv21682/tools/altperl
Modified Files:
Tag: REL_1_2_STABLE
slon-tools.pm
Log Message:
Change per Mark Stosberg to have altperl scripts support older versions
of apache rotatelogs
Index: slon-tools.pm
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tools/altperl/slon-tools.pm,v
retrieving revision 1.26.2.2
retrieving revision 1.26.2.3
diff -C2 -d -r1.26.2.2 -r1.26.2.3
*** slon-tools.pm 6 Dec 2006 18:38:41 -0000 1.26.2.2
--- slon-tools.pm 12 Mar 2007 22:17:19 -0000 1.26.2.3
***************
*** 136,140 ****
my $cmd = "@@SLONBINDIR@@/slon -s $SYNC_CHECK_INTERVAL -d2 $CLUSTER_NAME '$dsn' 2>&1 ";
if ($APACHE_ROTATOR) {
! $cmd .= "| $APACHE_ROTATOR \"$LOGDIR/slony1/node$nodenum/" . $dbname . "_%Y-%m-%d_%H:%M:%S.log\" 10M &";
} else {
my $now=`date '+%Y-%m-%d_%H:%M:%S'`;
--- 136,140 ----
my $cmd = "@@SLONBINDIR@@/slon -s $SYNC_CHECK_INTERVAL -d2 $CLUSTER_NAME '$dsn' 2>&1 ";
if ($APACHE_ROTATOR) {
! $cmd .= "| $APACHE_ROTATOR \"$LOGDIR/slony1/node$nodenum/" . $dbname . "_%Y-%m.log\" 86400 &";
} else {
my $now=`date '+%Y-%m-%d_%H:%M:%S'`;
- Previous message: [Slony1-commit] slony1-engine/tools/altperl slon-tools.pm
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.8 configure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list