]> iEval git - gruntmaster-daemon.git/commitdiff
Trace programs runned in Format.pm
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 21:02:55 +0000 (00:02 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 9 Apr 2014 21:02:55 +0000 (00:02 +0300)
lib/Gruntmaster/Daemon/Format.pm

index bab6d977778c257a853069c0171c2884a66a6a3b..5132fbd7387584d0f4ab8888a526e878c5f06ca3 100644 (file)
@@ -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) {
This page took 0.022103 seconds and 4 git commands to generate.