From: Marius Gavrilescu Date: Wed, 9 Apr 2014 21:02:55 +0000 (+0300) Subject: Trace programs runned in Format.pm X-Git-Tag: 5999.000_003~15 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d16a999c8e8166691919b98ccbe4bd9332a3543d;p=gruntmaster-daemon.git Trace programs runned in Format.pm --- diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index bab6d97..5132fbd 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -36,7 +36,9 @@ sub command_and_args{ sub mkrun{ my $format = shift; sub{ + local *__ANON__ = 'mkrun_runner'; my ($name, %args) = @_; + get_logger->trace("Running $name..."); my $basename = fileparse $name, qr/\.[^.]*/; my $ret = fork // die 'Cannot fork'; if ($ret) {