ASP » Response » AppendToLog

Syntax:
Response.AppendToLog(String)
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.

The AppendToLog method adds a string to the end of an entry in the Web server log for this request.

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.

Examples

Code:
<%
Response.AppendToLog("Error in Processing")
%>
Output:
10.78.176.37, - , 03/20/97, 7:55:20, W3SVC, SALES1, 10.78.176.37, Error in Processing
Explanation:

Output is appended to the end of the IIS log file.