Select the product you need help with
HOW TO: View and Report from Log FilesArticle ID: 324091 - View products that this article applies to. This article was previously published under Q324091 On This PageSUMMARY
This article shows you how to translate log file preferences from Apache to Microsoft Internet Information Services (IIS), how to view log files that are generated by IIS, and how to report on the information that is contained in those log files. Translate Log File PreferencesWith Apache, you can control only two elements of the logging system, the location of the log files generated, and the log file format. With IIS, you have more control over the log file format, location, and rotation.Set the Log File FolderAs with Apache, with IIS you can use a separate folder and location for each Web site where you want to log activity.To set the folder to use for logging Web site activity:
Setting the Log File FormatTo change the log file format, follow the steps in the following Knowledge Base article:313437
(http://support.microsoft.com/kb/313437/EN-US/
)
HOW TO: Enable Logging in IIS 5.0
Set the Log File RotationA benefit of IIS is that you can configure how regularly the log files are rotated, that is, how long it takes before a new log file is created. With Apache, you must perform this process manually or through an external script, and then you have to restart Apache. In IIS, you can configure a new log to be created during any time period (daily, weekly, monthly) or when a log file has reached a particular size.
Find or View Log FilesTo find or view the log files that are generated by IIS, you must locate the folder that is used to store these files. To find the folder and location for a log file, follow these steps:
Log File ReportingIf you are using an existing program for reporting on your Web logs under Unix/Apache, and if you have not changed the generated log format from the default W3C Extended Log Format, you should be able to continue using the same tool for your reporting process.If you are not currently using a tool, or you want to use a custom format for your reporting, you have to use a separate program. Some examples include:
REFERENCESFor additional information about how to perform maintenance tasks after a UNIX to Windows migration, click the article number below
to view the article in the Microsoft Knowledge Base:
324539
(http://support.microsoft.com/kb/324539/EN-US/
)
How TO: Perform Maintenance and Ancillary Tasks After a UNIX to Windows Migration
PropertiesArticle ID: 324091 - Last Review: November 21, 2006 - Revision: 3.3 APPLIES TO
| Article Translations
|


Back to the top








