--- loncom/LondConnection.pm 2005/02/06 07:39:49 1.36 +++ loncom/LondConnection.pm 2005/05/27 21:49:18 1.37 @@ -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 @@ sub Dump { my $now = time; my $local = localtime($now); - if ($level <= $DebugLevel) { + if ($level >= $DebugLevel) { return; } @@ -165,6 +165,7 @@ sub Dump { 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"; }