[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 08 May 2002 14:37:14 -0000


www		Wed May  8 10:37:14 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Get rid of some useless log messages.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.213 loncom/lonnet/perl/lonnet.pm:1.214
--- loncom/lonnet/perl/lonnet.pm:1.213	Tue May  7 15:16:15 2002
+++ loncom/lonnet/perl/lonnet.pm	Wed May  8 10:37:14 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.213 2002/05/07 19:16:15 www Exp $
+# $Id: lonnet.pm,v 1.214 2002/05/08 14:37:14 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -627,6 +627,7 @@
 sub repcopy {
     my $filename=shift;
     $filename=~s/\/+/\//g;
+    if ($filename=~/^\/home\/httpd\/html\/adm\//) { return OK; }
     my $transname="$filename.in.transfer";
     if ((-e $filename) || (-e $transname)) { return OK; }
     my $remoteurl=subscribe($filename);
@@ -716,7 +717,6 @@
     &logthis('Flushing course log buffers');
     foreach (keys %courselogs) {
         my $crsid=$_;
-	&logthis(":$crsid:$coursehombuf{$crsid}");
         if (&reply('log:'.$coursedombuf{$crsid}.':'.
 		          &escape($courselogs{$crsid}),
 		          $coursehombuf{$crsid}) eq 'ok') {