<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>IIsCustomLogModule</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
	TempString = navigator.appVersion
	if (navigator.appName == "Microsoft Internet Explorer"){	
// Check to see if browser is Microsoft
		if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
			document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
		}
		else {
			document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
		}
	}
	else if (navigator.appName == "Netscape") {						
// Check to see if browser is Netscape
		document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
	}
	else
		document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
   Dim frmContents
   On Error Resume Next
   If Not Parent Is Nothing Then
      Set frmContents = Parent.Contents
      If Not frmContents Is Nothing Then
            frmContents.Window.TOCSynch_Click
      End If
   End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services"> 
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<H2><A NAME="_k2_iiscustomlogmodule"></A><SUP></SUP>IIsCustomLogModule</H2>

<P>You can use the <B>IIsCustomLogModule </B>object to configure custom logging information fields. For more information about custom logging fields, see <B>Setting Metabase Properties for Logging</B> in the Platform SDK.</P>

<H6>ADsPath</H6>

<P>IIS://<I>MachineName</I>/Logging/CustomLogging</P>

<P>IIS://<I>MachineName</I>/Logging/CustomLogging/<I>Field</I></P>

<P>IIS://<I>MachineName</I>/Logging/CustomLogging/<I>FieldGroup</I></P>

<P>IIS://<I>MachineName</I>/Logging/CustomLogging/<I>FieldGroup/Field</I></P>

<P>where <I>MachineName </I>can be any name or "LocalHost."</P>

<H6>Syntax</H6>

<P><I>varReturn </I><B>= </B><I>object</I>.<I>Method</I></P>

<P>&nbsp;</P>

<H6>Parts</H6>

<DL>
<DT><I>varReturn</I></DT>

<DD>A variable that receives the return value from the method.<BR>
</DD>

<DT><I>object</I></DT>

<DD>A variable that contains the <B>IIsComputer</B> object, usually as a result of a previous <B>GetObject</B> operation.<BR>
</DD>

<DT><I>Method</I></DT>

<DD>The object method chosen.</DD>
</DL>

<H6>Properties</H6>

<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>

<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi57hv.htm"><B>ADSI Object Properties</B></A></TD>
<TD width=50%>&nbsp;</TD>
</TR>
</TABLE><BR>

<H6>Metabase Properties</H6>

<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>

<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro8s11.htm"><B>LogCustomPropertyDataType</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro6xij.htm"><B>LogCustomPropertyMask</B></A></TD>
</TR>

<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5x6a.htm"><B>LogCustomPropertyHeader</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro2jhh.htm"><B>LogCustomPropertyName</B></A></TD>
</TR>

<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro53qc.htm"><B>LogCustomPropertyID</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro9hif.htm"><B>LogCustomPropertyServicesString</B></A></TD>
</TR>
</TABLE><BR>

<H6>Methods</H6>

<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>

<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi0ewj.htm"><B>ADSI Object Methods</B></A></TD>
<TD width=50%>Standard methods for ADSI objects.</TD>
</TR>
</TABLE><BR>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>