Request body size altijd meeloggen
svn path=/Website/trunk/; revision=31118
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user