make the (tail) link show the last 4000 characters of the file, which seems to be a more useful amount

This commit is contained in:
Mike Bonnet 2010-03-17 15:34:45 -04:00
parent 547fd3c278
commit 7da99c1479

View file

@ -312,7 +312,7 @@ ${excClass.__name__}: $cgi.escape($str($result))
#for $filename in $output
<a href="getfile?taskID=$task.id&name=$urllib.quote($filename)">$filename</a>
#if $filename.endswith('.log')
(<a href="getfile?taskID=$task.id&name=$urllib.quote($filename)&offset=-2000">tail</a>)
(<a href="getfile?taskID=$task.id&name=$urllib.quote($filename)&offset=-4000">tail</a>)
#end if
<br/>
#end for