Skip to content

Commit 9d51cda

Browse files
committed
suppress logs (TODO: change)
1 parent 0a01fff commit 9d51cda

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bin/author.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
"whois_file=s" => \$whois_file,
5959
);
6060

61+
# TODO: find a better way
62+
$mode eq 'test' and Log::Log4perl::init('log4perl_test.conf');
63+
64+
6165
# setup
6266
my $es = MetaCPAN::ES->new( index => "author", ( $mode ? ( mode => $mode ) : () ) );
6367

log4perl_test.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
log4perl.logger = OFF

0 commit comments

Comments
 (0)