From: David Bremner Date: Sun, 6 Mar 2011 16:53:39 +0000 (-0400) Subject: use renamed logger module X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=61ac0f1873a1a8c543df4e3b851af7e285c47f8a;p=monkeysphere-validation-agent.git use renamed logger module --- diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm index f2bb7b1..68a49e6 100755 --- a/Crypt/Monkeysphere/MSVA.pm +++ b/Crypt/Monkeysphere/MSVA.pm @@ -33,7 +33,7 @@ use File::HomeDir; use Config::General; use Crypt::Monkeysphere::MSVA::MarginalUI; - use Crypt::Monkeysphere::MSVA::Logger; + use Crypt::Monkeysphere::Logger; use Crypt::Monkeysphere::MSVA::Monitor; use JSON; @@ -62,7 +62,7 @@ my $default_keyserver = 'hkp://pool.sks-keyservers.net'; my $default_keyserver_policy = 'unlessvalid'; - my $logger = Crypt::Monkeysphere::MSVA::Logger::->new($ENV{MSVA_LOG_LEVEL}); + my $logger = Crypt::Monkeysphere::Logger::->new($ENV{MSVA_LOG_LEVEL}); sub logger { return $logger; } diff --git a/Crypt/Monkeysphere/MSVA/Client.pm b/Crypt/Monkeysphere/MSVA/Client.pm index 4871e90..44f5ab7 100644 --- a/Crypt/Monkeysphere/MSVA/Client.pm +++ b/Crypt/Monkeysphere/MSVA/Client.pm @@ -26,7 +26,7 @@ use strict; use warnings; use JSON; - use Crypt::Monkeysphere::MSVA::Logger; + use Crypt::Monkeysphere::Logger; use LWP::UserAgent; use HTTP::Request; use Module::Load::Conditional; @@ -134,7 +134,7 @@ my %args = @_; my $self = {}; - $self->{logger} = Crypt::Monkeysphere::MSVA::Logger->new($args{log_level}); + $self->{logger} = Crypt::Monkeysphere::Logger->new($args{log_level}); $self->{socket} = $args{socket}; $self->{socket} = 'http://localhost:8901' if (! defined $self->{socket} or $self->{socket} eq '');