Chris Browne cbbrowne at lists.slony.info
Mon Jan 5 14:04:11 PST 2009
Update of /home/cvsd/slony1/slony1-engine/tools/altperl
In directory main.slony.info:/tmp/cvs-serv16964/tools/altperl

Modified Files:
      Tag: REL_2_0_STABLE
	slon_watchdog.pl 
Log Message:
- Fix syntax error in tools/altperl/slon_watchdog.pl

- Add cleanup_interval example to sample slon.conf file

- Add cleanup_interval configuration configuration to regression tests

Per discussion on slony-bugs list with Cyril Scetbon



Index: slon_watchdog.pl
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tools/altperl/slon_watchdog.pl,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -d -r1.15 -r1.15.2.1
*** slon_watchdog.pl	12 Mar 2008 15:43:55 -0000	1.15
--- slon_watchdog.pl	5 Jan 2009 22:04:09 -0000	1.15.2.1
***************
*** 44,48 ****
    if (!($pid)) {
      my ($dsn, $dbname) = ($DSN[$nodenum], $DBNAME[$nodenum]);
!     my ($logfile) = "$LOGDIR/slon-$dbname-$node.err"
      open (SLONLOG, ">>$logfile");
      print SLONLOG "WATCHDOG: No Slon is running for node $node!\n";
--- 44,48 ----
    if (!($pid)) {
      my ($dsn, $dbname) = ($DSN[$nodenum], $DBNAME[$nodenum]);
!     my ($logfile) = "$LOGDIR/slon-$dbname-$node.err";
      open (SLONLOG, ">>$logfile");
      print SLONLOG "WATCHDOG: No Slon is running for node $node!\n";



More information about the Slony1-commit mailing list