tweak debugging
authorivan <ivan>
Fri, 7 Sep 2007 03:36:13 +0000 (03:36 +0000)
committerivan <ivan>
Fri, 7 Sep 2007 03:36:13 +0000 (03:36 +0000)
FS/FS/part_export/sqlradius.pm

index fec4949..9995952 100644 (file)
@@ -90,7 +90,7 @@ sub rebless { shift; }
 
 sub export_username {
   my($self, $svc_acct) = (shift, shift);
-  warn "export_username called on $self with arg $svc_acct" if $DEBUG;
+  warn "export_username called on $self with arg $svc_acct" if $DEBUG > 1;
   $svc_acct->username;
 }