[LON-CAPA-cvs] cvs: loncom / LondConnection.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 27 May 2005 21:49:19 -0000


albertel		Fri May 27 17:49:19 2005 EDT

  Modified files:              
    /loncom	LondConnection.pm 
  Log:
  - login on wether or not we should dump was backwards
  
  
Index: loncom/LondConnection.pm
diff -u loncom/LondConnection.pm:1.36 loncom/LondConnection.pm:1.37
--- loncom/LondConnection.pm:1.36	Sun Feb  6 02:39:49 2005
+++ loncom/LondConnection.pm	Fri May 27 17:49:18 2005
@@ -1,7 +1,7 @@
 #   This module defines and implements a class that represents
 #   a connection to a lond daemon.
 #
-# $Id: LondConnection.pm,v 1.36 2005/02/06 07:39:49 albertel Exp $
+# $Id: LondConnection.pm,v 1.37 2005/05/27 21:49:18 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -157,7 +157,7 @@
     my $now    = time;
     my $local  = localtime($now);
     
-    if ($level <= $DebugLevel) {
+    if ($level >= $DebugLevel) {
 	return;
     }
 
@@ -165,6 +165,7 @@
     my $key;
     my $value;
     print STDERR "[ $local ] Dumping LondConnectionObject:\n";
+    print STDERR join(':',caller(1))."\n";
     while(($key, $value) = each %$self) {
 	print STDERR "$key -> $value\n";
     }