tiny fix for first msg to a node
[spider.git] / perl / DXLog.pm
index 17559b36fe62577d2b53cef0c8f9f810d225c5ba..9f15c225f40dea9a01f7ce5b5aae8e9110fab522 100644 (file)
@@ -31,9 +31,9 @@ require Exporter;
 
 use IO::File;
 use DXVars;
-# use DXDebug ();
 use DXUtil;
 use Julian;
+
 use Carp;
 
 use strict;
@@ -83,7 +83,7 @@ sub open
        $self->{year} = $year;
        $self->{thing} = $thing;
        
-#      DXDebug::dbg("dxlog", "opening $self->{fn}\n");
+#      DXDebug::dbg("opening $self->{fn}\n") if isdbg("dxlog");
        
        return $self->{fh};
 }