500-error ip-adres iets explicieter loggen

svn path=/Website/trunk/; revision=30866
This commit is contained in:
Jos Groot Lipman
2016-09-27 10:37:26 +00:00
parent d0e4c566e4
commit ed09359abe

View File

@@ -343,7 +343,7 @@ function ASPErrorJson()
function LogErrorToFile() function LogErrorToFile()
{ {
__DoLog("Session('customerId'): " + Session("customerId"), "#f00"); __SafeDoLog("Session('customerId'): " + Session("customerId") + " <span style='font-size:9px;color:#444'>" + Request.ServerVariables("REMOTE_ADDR") + "</span>", "#f00");
__SafeDoLog(ASPErrorText()); __SafeDoLog(ASPErrorText());
if (Request.ServerVariables("HTTP_REFERER").Count) if (Request.ServerVariables("HTTP_REFERER").Count)
__DoLog("Referer: " + Request.ServerVariables("HTTP_REFERER")); __DoLog("Referer: " + Request.ServerVariables("HTTP_REFERER"));