<HTML>
<title>Internet Service Manager <%if servid EQ 4%>WWW<%elif servid EQ 1%>FTP<%elif servid EQ 2%>Gopher<%endif%> Logging Properties</title>

<FONT COLOR=FFFFFF>
<STYLE>
  A  {text-decoration: none}
</STYLE>
</FONT>

<BODY BGCOLOR=#FFFFFF LINK=000000 VLINK=000000>

<!-- Header -->
<!-- Windows NT Server with IIS  -->
<%if platformtype EQ 1%>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR VALIGN=CENTER>
        <TD><A HREF="/iisadmin/default.htm"><IMG SRC="/iisadmin/logo.gif" ALT="Microsoft Internet Information Server" ALIGN=BOTTOM BORDER=0></A></TD>
        <TD WIDTH=20> </TD>
        <TD><FONT SIZE=+3 COLOR=#000000><B>Internet Service Manager<BR> <FONT SIZE=-1>for Internet Information Server 2.0<FONT></B></FONT></TD>
</TR>
</Table>
<%endif%>   

<!-- Windows NT Workstation with PWS  -->
<%if platformtype EQ 2%>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR VALIGN=CENTER>
        <TD><A HREF="/iisadmin/default.htm"><IMG SRC="/iisadmin/logo.gif" ALT="Microsoft Peer Web Services" ALIGN=BOTTOM BORDER=0></A></TD>
        <TD WIDTH=20> </TD>
        <TD><FONT SIZE=+3 COLOR=#000000><B>Internet Service Manager<BR> <FONT SIZE=-1>for Peer Web Services<FONT></B></FONT></TD>
</TR>
</Table>
<%endif%>

<!-- Inclusion of the left hand navigation menu -->

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR ALIGN=LEFT VALIGN=TOP> 
        <TD>
                <TABLE BORDER=1 BORDERCOLOR=FFFFFF CELLPADDING=4 CELLSPACING=4>
                <TR> <TD HEIGHT=10 BORDER=0> </TD> </TR>
                <TR> <TD BGCOLOR=FFFFFF  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/iisadmin/">Introduction</A> </TD> </TR>
                <%if servid EQ 4%>
                <TR> <TD BGCOLOR=8F8FBD BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?http/serv"><B>WWW</B></A> </TD> </TR>
                <%else%>
                <TR> <TD BGCOLOR=FFFFFF BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?http/serv">WWW</A> </TD> </TR>
                <%endif%>
                <%if servid EQ 1%>
                <TR> <TD BGCOLOR=8F8FBD  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?ftp/serv"><B>FTP</B></A> </TD> </TR>
                <%else%>
                <TR> <TD BGCOLOR=FFFFFF  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?ftp/serv">FTP</A> </TD> </TR>
                <%endif%>
                <%if servid EQ 2%>
                <TR> <TD BGCOLOR=8F8FBD  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?gopher/serv"><B>Gopher</B></A> </TD> </TR>
                <%else%>
                <TR> <TD BGCOLOR=FFFFFF  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/scripts/iisadmin/ism.dll?gopher/serv">Gopher</A> </TD> </TR>
                <%endif%>
                <TR> <TD BGCOLOR=FFFFFF  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER> <A href="/iisadmin/htmldocs/">Documentation</A> </TD> </TR>
                </TABLE>
        </TD>
        <TD> 
        <%if servid EQ 4%>
        <IMG SRC="/iisadmin/web1conn.gif" ALIGN=BOTTOM BORDER=0></A></TD>
        <%endif%>
        <%if servid EQ 1%>
        <IMG SRC="/iisadmin/ftp1conn.gif" ALIGN=BOTTOM BORDER=0></A></TD>
        <%endif%>
        <%if servid EQ 2%>
        <IMG SRC="/iisadmin/gph1conn.gif" ALIGN=BOTTOM BORDER=0></A></TD>
        <%endif%>
        </TD>

<TD>

<TABLE BORDER=0 BORDERCOLOR=#000000 CELLPADDING=0 CELLSPACING=2>
<TR><TD> 
<FONT SIZE=+1 COLOR=0000CD><%if servid EQ 4%>WWW<%elif servid EQ 1%>FTP<%elif servid EQ 2%>Gopher<%endif%></FONT>
<FONT SIZE=+1 COLOR=0000CD>Administration on <%servname%>://<%hostname%></FONT>
</TD></TR>
</TABLE>
<BR>
<!-- Menu Tabs -->
<TABLE BORDER=1 BORDERCOLOR=FFFFFF CELLPADDING=3 CELLSPACING=1>
<TR>
<TD BGCOLOR=F5F5F5  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER><A href="/scripts/iisadmin/ism.dll?<%servname%>/serv">Service</A><TD>
<%if servid EQ 1%>
<TD BGCOLOR=F5F5F5  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER><a href="/scripts/iisadmin/ism.dll?<%servname%>/msg">Messages</A><TD>
<%endif%>
<TD BGCOLOR=F5F5F5  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER><a href="/scripts/iisadmin/ism.dll?<%servname%>/dir">Directories</A><TD>
<TD BGCOLOR=C0C0C0  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER><a href="/scripts/iisadmin/ism.dll?<%servname%>/log"><B>Logging</B></A><TD>
<%if cap1flag BA 16%>
<TD BGCOLOR=F5F5F5  BORDER=1 BORDERCOLOR=C0C0C0 ALIGN=CENTER><a href="/scripts/iisadmin/ism.dll?<%servname%>/adv">Advanced</A><TD>
<%endif%>
</TABLE>

<form method="POST" action="/scripts/iisadmin/ism.dll?<%servname%>/logu">

<%if platformtype EQ 1%>
<table border=0 BGCOLOR=C0C0C0 nowrap WIDTH=564 cellpadding=10>
<%endif%>
<%if platformtype NE 1%>
<table border=0 BGCOLOR=C0C0C0 nowrap WIDTH=400 cellpadding=10>
<%endif%>

<input type="checkbox" name="enablelog" value=1 <%if enablelog EQ 1%>CHECKED<%endif%>>Enable logging<p>

<%if platformtype EQ 1%>
<table border BORDERCOLOR=696969 nowrap WIDTH=564 cellpadding=10>
<%endif%>
<%if platformtype NE 1%>
<table border BORDERCOLOR=696969 nowrap WIDTH=400 cellpadding=10>
<%endif%>
<tr>
<td valign=top>
<%if cap1flag BA 1%>
<input type="radio" name="logtype" value="1" <%if logtype EQ 1%>CHECKED<%endif%>> Log to  File<p>
<%else%>
<input type="hidden" name="logtype" value="1">
<%endif%>

<%if servid EQ 4%>
Log format<br>
<select name="logformat">
<option value=0 <%if logformat EQ 0%>SELECTED<%endif%>>Standard
<option value=3 <%if logformat EQ 3%>SELECTED<%endif%>>NCSA
</select>
<%endif%>
<P>
<input type="checkbox" name="enablenewlog" value=1 <%if enablenewlog EQ 1%>CHECKED<%endif%>>Automatically open new log
<dl>
<dd><input type="radio" name="logperiod" value="1" <%if logperiod EQ 1%>CHECKED<%endif%>> Daily
<dd><input type="radio" name="logperiod" value="2" <%if logperiod EQ 2%>CHECKED<%endif%>> Weekly
<dd><input type="radio" name="logperiod" value="3" <%if logperiod EQ 3%>CHECKED<%endif%>> Monthly
<dd><input type="radio" name="logperiod" value="5" <%if logperiod EQ 5%>CHECKED<%endif%>> When the file size reaches:
<dd><DL><DD><input type="text" name="logsize" SIZE=8 value="<%if logperiod EQ 5%><%logsize%><%endif%>"> MB</DL>
</dl>
Log file directory :<BR>
 <input type="text" size=34 name="logdir" value="<%if reqparam RF "logdir"%><%msgbody.logdir%><%else%><%logdir%><%endif%>"><br>
<BR>
 <input type="submit" name="bdir" value=" Browse... ">
<P>     
Log file name: 
<%if logformat EQ 3%>
<%if enablenewlog EQ 0%>NCSAn.LOG<%endif%><%if logperiod EQ 1%>NCyymmdd.LOG<%endif%><%if logperiod EQ 2%>NCyymmww.LOG<%endif%>
<%if logperiod EQ 3%>NCyymm.LOG<%endif%><%if logperiod EQ 5%>NCSAn.LOG<%endif%>
<%else%>
<%if enablenewlog EQ 0%>INETSVn.LOG<%endif%><%if logperiod EQ 1%>INyymmdd.LOG<%endif%><%if logperiod EQ 2%>INyymmww.LOG<%endif%>
<%if logperiod EQ 3%>INyymm.LOG<%endif%><%if logperiod EQ 5%>INETSVn.LOG<%endif%>
<%endif%>
</td>
<%if cap1flag BA 1%>
<td valign=top>
<input type="radio" name="logtype" value="2" <%if logtype EQ 2%>CHECKED<%endif%>> Log to SQL/ODBC Database<p>
ODBC Data Source Name (DSN) :<br>
<input type="text" name="logsrc" value="<%logsrc%>"><br>
Table :<br>
<input type="text" name="logname" value="<%logname%>"><br>
User Name :<br>
<input type="text" name="loguser" value="<%loguser%>"><br>
Password :<br>
<input type="password" name="logpw" value="<%logpw%>"><br>
</td>
<%endif%>
</tr>
</table>

<!-- OK/CANCEL/RESET Buttons -->
<%if platformtype EQ 1%>
<TABLE WIDTH=570 HEIGHT=30 BORDER=0 NOWRAP>
<%endif%>
<%if platformtype NE 1%>
<TABLE WIDTH=406 HEIGHT=30 BORDER=0 NOWRAP>
<%endif%>
<TR><TD ALIGN=RIGHT>
<input type="submit" value="     OK     ">
<input type="submit" name="cancel" value=" Cancel ">
<input type="reset" value="  Reset  ">
<%if 1 EQ 1%>
<input type="hidden" name="helptopic" value="/iisadmin/<%if servid EQ 4%>htlog.htm<%elif servid EQ 1%>ftlog.htm<%elif servid EQ 2%>golog.htm<%endif%>">
<input type="submit" name="help" value="  Help  ">
<%endif%>
</TD></TR>
</TABLE>

</TABLE>
</TABLE>

</TABLE>

</form>
</body>
</html>
