From d16a999c8e8166691919b98ccbe4bd9332a3543d Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 10 Apr 2014 00:02:55 +0300 Subject: [PATCH] Trace programs runned in Format.pm --- lib/Gruntmaster/Daemon/Format.pm | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.2