btrbk: use loglevel trace (instead of debug) for repeated WARN_ONCE

pull/106/merge
Axel Burri 2016-08-29 14:48:07 +02:00
parent 1aa208151b
commit dc5dee3121
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -302,7 +302,7 @@ sub ERROR { my $t = shift; print STDERR "ERROR: $t\n"; }
sub WARN_ONCE {
my $t = shift;
if($warn_once{$t}) { DEBUG("WARN AGAIN: " . $t); }
if($warn_once{$t}) { TRACE("WARNING(again): $t"); }
else { $warn_once{$t} = 1; WARN($t); }
}