X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FRole%2FConnector%2FPerlInterpreter.pm;h=d418c236508b977b6b616c7de0465f60c03ea64a;hb=a63cd862186adf328e26dd1294e7a3b1adc42ed6;hp=536897da7875fb1b389d643686688a247e66941b;hpb=f7ea4120db80a6feb33053e6bcb0f983b71f7394;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Role/Connector/PerlInterpreter.pm b/lib/Object/Remote/Role/Connector/PerlInterpreter.pm index 536897d..d418c23 100644 --- a/lib/Object/Remote/Role/Connector/PerlInterpreter.pm +++ b/lib/Object/Remote/Role/Connector/PerlInterpreter.pm @@ -30,8 +30,8 @@ around connect => sub { return future { $f->on_done(sub { my ($conn) = $f->get; - $conn->remote_sub('Object::Remote::Logging::init_node') - ->(Object::Remote::Logging->arg_router); + my $sub = $conn->remote_sub('Object::Remote::Logging::init_logging_forwarding'); + $sub->('Object::Remote::Logging', Object::Remote::Logging->arg_router); Object::Remote::Handle->new( connection => $conn, class => 'Object::Remote::ModuleLoader',