my $query = "
SELECT " . $bweb->dbh_strcat('Job.Name', "'_'", 'Job.Level') . ",
$sec,
- substring(Log.LogText from 1 for 65),
+ substring(Log.LogText from 8 for 70),
Job.JobId,
Pool.Name
";
-print STDERR $query if ($conf->{debug})
+print STDERR $query if ($conf->{debug});
my $all = $bweb->dbh_selectall_arrayref($query);
my $lastid = 0;
$lastspool=0;
}
- if ($elt->[2] =~ /$regs{start_job}/) {
+ if ($elt->[2] =~ /$regs{end_job}/) {
push @$data, {
type => "commit",
begin => $begin,
end => $elt->[1],
};
- } elsif ($elt->[2] =~ /$regs{end_job}/) {
+ } elsif ($elt->[2] =~ /$regs{start_job}/) {
1;
} else {
next;