rev 1329 - trunk/siesta/lib

[prev] [thread] [next] [lurker] [Date index for 2003/08/13]

From: richardc
Subject: rev 1329 - trunk/siesta/lib
Date: 13:13 on 13 Aug 2003
Author: richardc
Date: 2003-08-13 13:13:55 +0100 (Wed, 13 Aug 2003)
New Revision: 1329

Modified:
   trunk/siesta/lib/Siesta.pm
Log:
logfiles are next to fecking useless if they're always truncated


Modified: trunk/siesta/lib/Siesta.pm
===================================================================
--- trunk/siesta/lib/Siesta.pm	2003-08-13 08:57:27 UTC (rev 1328)
+++ trunk/siesta/lib/Siesta.pm	2003-08-13 12:13:55 UTC (rev 1329)
@@ -119,8 +119,8 @@
     my $level = shift || $Siesta::Config::LOG_LEVEL;
 
     unless ($logger) {
-        $logger = IO::File->new(">$Siesta::Config::LOG_PATH")
-          or die "Couldn't open file $Siesta::Config::LOG_PATH for writing\n";
+        $logger = IO::File->new(">>$Siesta::Config::LOG_PATH")
+          or die "Couldn't open file $Siesta::Config::LOG_PATH for appending\n";
     }
 
     my $date = localtime;

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52