our $VERSION = '0.002003'; # 0.2.3
-BEGIN {
- Object::Remote::Logging->init_logging;
-}
-
sub new::on {
my ($class, $on, @args) = @_;
my $conn = __PACKAGE__->connect($on);
sub before_import {
my ($class, $importer, $spec) = @_;
my $router = $class->router;
+ our $DID_INIT;
+ unless($DID_INIT) {
+ $DID_INIT = 1;
+ init_logging();
+ }
+
$class->SUPER::before_import($importer, $spec);
my @levels = @{$class->arg_levels($spec->config->{levels})};