X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FRole%2FConnector%2FPerlInterpreter.pm;h=d418c236508b977b6b616c7de0465f60c03ea64a;hp=536897da7875fb1b389d643686688a247e66941b;hb=4a9fa1a5a329754549f998536e0e68f19d42d7ab;hpb=f7ea4120db80a6feb33053e6bcb0f983b71f7394 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',