2025-04-27 07:49:33 -04:00

171 lines
5.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>LogFilePeriod</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">
<H3><A NAME="_k2_logfileperiod"></A><SUP></SUP>LogFilePeriod</H3>
<P>This metabase property specifies how often Microsoft Windows<sup>&reg;</sup> should create a new log file. This property can be set to the following values: 1 (daily), 2 (weekly), 3 (monthly), or 4 (hourly). If this property is set to 0, a new file will be created when the maximum size designated in <A HREF="/iishelp/iis/htm/asp/apro892d.htm"><B>LogFileTruncateSize</B></A> is reached. </P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=49%>Data type</TD>
<TD width=51%>Long</TD>
</TR>
<TR VALIGN="top">
<TD width=49%>Default value</TD>
<TD width=51%>1 (Create new log file daily)</TD>
</TR>
<TR VALIGN="top">
<TD width=49%>Inheritance</TD>
<TD width=51%>Inheritable</TD>
</TR>
</TABLE><BR>
<H6>Access Locations</H6>
<P>This property is accessible at the following locations:</P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD class=blue width=49%><B>Metabase Path</B></TD>
<TD class=blue width=51%><B>Key Type</B></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>/LM/MSFTPSVC</TD>
<TD width=51%><A HREF="/iishelp/iis/htm/asp/aore32n9.htm"><B>IIsFtpService</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>/LM/MSFTPSVC/<I>N</I></TD>
<TD width=51%><A HREF="/iishelp/iis/htm/asp/aore43si.htm"><B>IIsFtpServer</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>/LM/W3SVC</TD>
<TD width=51%><A HREF="/iishelp/iis/htm/asp/aore1p5x.htm"><B>IIsWebService</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>/LM/W3SVC/<I>N</I></TD>
<TD width=51%><A HREF="/iishelp/iis/htm/asp/aore7zn6.htm"><B>IIsWebServer</B></A></TD>
</TR>
</TABLE><BR>
<H6>IIS Admin Base Object Information</H6>
<P>The following tables list additional information required only for code that uses the IIS Admin Base Object.</P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=49%>Metabase identifier</TD>
<TD width=51%><B>MD_LOGFILE_PERIOD</B></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>Data type</TD>
<TD width=51%><B>DWORD_METADATA</B></TD>
</TR>
<TR VALIGN="top">
<TD width=49%>User type</TD>
<TD width=51%><B>IIS_MD_UT_SERVER</B></TD>
</TR>
</TABLE><BR>
<H6>Bitmask values</H6>
<TABLE border=0 cellpadding=5 cols=3 frame=box rules=all>
<TR VALIGN="top">
<TD class=blue width=49%><B>Constant</B></TD>
<TD class=blue width=18%><B>Value</B></TD>
<TD class=blue width=33%><B>Description</B></TD>
</TR>
<TR VALIGN="top">
<TD width=49%><B>MD_LOGFILE_PERIOD_MAXSIZE</B></TD>
<TD width=18%>0x00000000</TD>
<TD width=33%>Create new log file after reaching maximum size.</TD>
</TR>
<TR VALIGN="top">
<TD width=49%><B>MD_LOGFILE_PERIOD_DAILY</B></TD>
<TD width=18%>0x00000001</TD>
<TD width=33%>Create new log file daily.</TD>
</TR>
<TR VALIGN="top">
<TD width=49%><B>MD_LOGFILE_PERIOD_WEEKLY</B></TD>
<TD width=18%>0x00000002</TD>
<TD width=33%>Create new log file weekly.</TD>
</TR>
<TR VALIGN="top">
<TD width=49%><B>MD_LOGFILE_PERIOD_MONTHLY</B></TD>
<TD width=18%>0x00000003</TD>
<TD width=33%>Create new log file monthly.</TD>
</TR>
<TR VALIGN="top">
<TD width=49%><B>MD_LOGFILE_PERIOD_HOURLY</B></TD>
<TD width=18%>0X00000004</TD>
<TD width=33%>Create a new log file hourly.</TD>
</TR>
</TABLE><BR>
<H6>See Also</H6>
<P><A HREF="/iishelp/iis/htm/asp/apro892d.htm"><B>LogFileTruncateSize</B></A></P>
<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>