From 42c7bb57e89b94a6f8c44a2f3be66c35726bdeb3 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 25 Nov 2009 09:39:03 +0000 Subject: [PATCH] * hydra: enable pp'ing of logs for bigger files again --- src/lib/Hydra/Controller/Build.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index e79d7a28..8bc129be 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -67,12 +67,6 @@ sub showLog { notFound($c, "Log file $path no longer exists.") unless -f $path; - # Don't do pretty printing for large logs, because the XSLT - # processing is rather slow. - if (!$mode && stat($path)->size >= (256 * 1024)) { - $mode = "raw"; - } - if (!$mode) { # !!! quick hack my $pipeline = ($path =~ /.bz2$/ ? "cat $path | bzip2 -d" : "cat $path")