Anyone who has seen the IIS log time knows that the time that IIS records by default is GMT, which is 8 hours from the time we use Beijing, so it is inconvenient to look at the log.
We have a very small set of IIS log time to use the time zone set by the server, we use the +8 District, the general installation of the operating system has been set. IIS is set up below (for example, WINDOWS2003+IIS6):
Open Internet Information Services (IIS) Manager, click Internet Information Services, local computer, Web site, and on the Web site you want (if you want to set all the sites, directly on the site), right-click Properties, and open the site properties.
Under the Web Site tab, locate the active log format, and then click Properties to open the IIS log properties
Under the General tab of the IIS log properties, locate the file naming and creating using local time, and tick before it.
Click "OK" two times to exit the Internet Information Services (IIS) Manager.
At this point, the IIS log is already using local time.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.