tweak log, awaiting-locks is a better name, and put in timestamps
This commit is contained in:
parent
05c713cab5
commit
dea7bce7f6
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Port.pm,v 1.84 2013/01/21 02:01:08 espie Exp $
|
||||
# $OpenBSD: Port.pm,v 1.85 2013/01/21 02:06:12 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -334,7 +334,8 @@ sub run
|
||||
$try++;
|
||||
$self->try_lock($core);
|
||||
if ($job->{locked}) {
|
||||
print {$job->{builder}{lockperf}} $core->hostname,
|
||||
print {$job->{builder}{lockperf}}
|
||||
time(), ":", $core->hostname,
|
||||
": $self->{phase}: $try seconds\n";
|
||||
exit(0);
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: PortBuilder.pm,v 1.30 2013/01/18 21:11:55 espie Exp $
|
||||
# $OpenBSD: PortBuilder.pm,v 1.31 2013/01/21 02:06:12 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -94,7 +94,7 @@ sub init
|
||||
File::Path::make_path($self->{fullrepo});
|
||||
$self->{global} = $self->logger->open("build");
|
||||
$self->{lockperf} =
|
||||
DPB::Util->make_hot($self->logger->open("lock-perf"));
|
||||
DPB::Util->make_hot($self->logger->open("awaiting-locks"));
|
||||
if ($self->{state}->defines("WRAP_MAKE")) {
|
||||
$self->{rsslog} = $self->logger->logfile("rss");
|
||||
$self->{wrapper} = $self->{state}->defines("WRAP_MAKE");
|
||||
|
Loading…
x
Reference in New Issue
Block a user