From 3dd25e07cec991dcb3223493121cb5d26b57b964 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 7 Feb 2013 06:46:58 +0000 Subject: [PATCH] make junk.log use the same pid@time header as the rest --- infrastructure/lib/DPB/Job/Port.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/lib/DPB/Job/Port.pm b/infrastructure/lib/DPB/Job/Port.pm index 8ee88d46d7d..7298d1bdb1e 100644 --- a/infrastructure/lib/DPB/Job/Port.pm +++ b/infrastructure/lib/DPB/Job/Port.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Port.pm,v 1.98 2013/02/03 21:45:52 espie Exp $ +# $OpenBSD: Port.pm,v 1.99 2013/02/07 06:46:58 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -824,7 +824,7 @@ sub add_normal_tasks if ($hostprop->{junk}) { if ($hostprop->{depends_count} >= $hostprop->{junk}) { my $fh = $self->{builder}->logger->open("junk"); - print $fh time(), ": ", $core->hostname, + print $fh "$$@", CORE::time(), ": ", $core->hostname, ": depends=$hostprop->{depends_count} ", " ports=$hostprop->{ports_count} ", " junk=$hostprop->{junk_count} -> $self->{path}\n";