remove ascii escapes from log in tail page and emails

This commit is contained in:
Rob Vermaas
2011-06-10 09:53:15 +00:00
parent 259d163ec9
commit 48b435c2de
3 changed files with 8 additions and 3 deletions

View File

@ -156,7 +156,7 @@ sub sendEmailNotification {
my $loglines = 50;
my $logfile = $build->resultInfo->logfile;
my $logtext = defined $logfile && -e $logfile ? `tail -$loglines $logfile` : "No logfile available.\n";
my $logtext = defined $logfile && -e $logfile ? removeAsciiEscapes(`tail -$loglines $logfile`) : "No logfile available.\n";
my $body = "Hi,\n"
. "\n"