aboutsummaryrefslogtreecommitdiff
path: root/scripts/steuermann_report.cgi
diff options
context:
space:
mode:
authorsienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-12-19 10:09:48 -0500
committersienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-12-19 10:09:48 -0500
commitc1e6607ed69fab1c00c661a5b2953a306d152bed (patch)
tree9a52431b557b2167ff150f7e45725c4c56417464 /scripts/steuermann_report.cgi
parente876a20e1e44cb98811363923aaf0583f89c99d0 (diff)
downloadsteuermann-c1e6607ed69fab1c00c661a5b2953a306d152bed.tar.gz
show size of aux log file
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@899 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'scripts/steuermann_report.cgi')
-rw-r--r--scripts/steuermann_report.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/steuermann_report.cgi b/scripts/steuermann_report.cgi
index 81e9b35..ff02087 100644
--- a/scripts/steuermann_report.cgi
+++ b/scripts/steuermann_report.cgi
@@ -326,7 +326,8 @@ elif action == 'run_log':
print '<br/><br/>'
for log in sorted(os.listdir(run_logs)):
- print "<a href='%s?action=show_run_log&name=%s&log_name=%s'>%s</a><br/>" %(cginame, form['name'].value, log, log)
+ size= os.stat(run_logs + '/' + log).st_size
+ print "<a href='%s?action=show_run_log&name=%s&log_name=%s'>%s</a> %d<br/>" %(cginame, form['name'].value, log, log, size)
print html_trailer