Platform SDK: IIS SDK |
The AppendToLog method adds a string to the end of the Web server log entry for the request. You can use it multiple times in one section of script. Each time the method is used, it appends the specified string to the existing entry.
Response.AppendToLog string
To record the specified string in the log file, you must enable the URIQuery option of the Extended Properties property sheet for the site whose activity you want to log. To access this property sheet, from IIS Manager, right-click the Web site, and select Properties. On the Web Site tab, verify that Enable Logging is selected, and then click Properties. Note the default settings on the Extended Properties property sheet.
The following example adds the text "content updated" to the log file:
<% Response.AppendToLog "My custom log message" %>
Platforms: Windows 2000 with IIS 5.0 installed,
Windows XP with IIS 5.1 installed,
Windows Server 2003 family with IIS 6.0 installed
What did you think of this topic? |
Order a Platform SDK CD |
file: /Techref/language/asp/obj/ref_vbom_resomatl.htm, 3KB, , updated: 2003/5/15 13:13, local time: 2024/12/25 22:53,
3.145.107.223:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/language/asp/obj/ref_vbom_resomatl.htm"> Response.AppendToLog</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.