Request body size altijd meeloggen

svn path=/Website/trunk/; revision=31118
This commit is contained in:
Jos Groot Lipman
2016-10-18 10:30:54 +00:00
parent c4096de866
commit b481832184

View File

@@ -142,7 +142,7 @@ htmlLogger =
this._file_handle.WriteLine(".script td { background-color: #C6C8C8; }");
this._file_handle.WriteLine("td.source,td.linenr,pre {");
this._file_handle.WriteLine(" padding: 0px; margin: 0px; font-size: 8pt; }");
this._file_handle.WriteLine(".querystring { color: #666; }");
this._file_handle.WriteLine(".querystring, .bodysize { color: #666; }");
this._file_handle.WriteLine(".orgurl { padding-left:6.5em; color: #666; }");
this._file_handle.WriteLine("td.tm span { color: #888; font-size: 7pt; }");
this._file_handle.WriteLine("</style>");
@@ -206,6 +206,9 @@ htmlLogger =
if (typeof user == "object" && user && "_prs_perslid_oslogin" in user)
usrtxt += " " + user._prs_perslid_oslogin;
var txt =("</td></tr><tr class='script'><td colspan=3 valign='top' title='"+ ip + " " + usrtxt + "'>" + linkdat + " " + method + " " + pad);
if (method == "POST" || Request.TotalBytes > 0)
txt += " <span class='bodysize'>(body " + Request.TotalBytes + " bytes)</span>";
this._do_write(txt);
// _do_close komt wel in log_tekst()
return 1; // dummy id