You can specify the directory in which log files are saved and set the option that affects when new log files are started.
To set options for saving log files
- Select a Web or FTP site, and open its property sheets.
- On the Web Site or FTP Site property sheet, click Properties.
- On the General Properties property sheet, select the option to use when starting a new log file. The options are:
- Hourly: Log files created hourly, starting with the first entry that occurs for each hour. This option is typically used for high-volume Web sites.
- Daily: Log files created daily, starting with the first entry that occurs after midnight.
- Weekly: Log files created weekly, starting with the first entry that occurs after midnight Saturday.
- Monthly: Log files created monthly, starting with the first entry that occurs as after midnight of the last day of the month.
Note "Midnight" is midnight local time for all log file formats except W3C Extended format. For W3C Extended log file format, "midnight" is midnight Greenwich Mean Time by default but can be changed to midnight local time. To open new W3C Extended logs using local time, select the Use local time for file naming and rollover check box. The new log starts at midnight local time, but the time recorded in the log files is still GMT.
- Unlimited file size: Data is always appended to the same log file. You should access this log file only after stopping the site.
- When file size reaches: A new log file is created when the current log file reaches a given size; specify the size you want.
- Under Log file directory, type the directory where log files should be saved. The directory must be a local drive and the path cannot be relative. You cannot use mapped drives or UNC paths such as \\server1\share1\, or the characters . .\ when you specify the log file directory. For information about how to map to a network drive, see the Windows XP
documentation.
- Click Apply.
Related Topics
© 1997-2001 Microsoft Corporation. All rights reserved.