METHOD:  Response.AppendToLog

Response.AppendToLog(String)

The AppendToLog method adds (appends) a string to the end of the entry of the Web server log for this request.

There is one mandatory argument.

String

The String argument is the string to be appended. The string can have a maximum length of 80 characters. It cannot contain commas because the log is comma-delineated.

Code:
<%
Response.AppendToLog("Error in Processing")
%>


Output is appended to the end of the IIS log file:
10.78.176.37, - , 03/20/97, 7:55:20, W3SVC, SALES1, 10.78.176.37, Error in Processing
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information