我在哪里可以找到IIS日志? [英] Where can I find the IIS logs?

查看:159
本文介绍了我在哪里可以找到IIS日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从第三方设置应用程序,这需要在我的本地IIS中托管支持网站。我已经按照安装指南中的说明创建了一个网站,但是我遇到了一些问题,并希望看到IIS日志的内容。令人尴尬的是,问题是我无法找到日志文件!

I'm trying to set up an application from a third party, which requires a supporting website hosted in my local IIS. I've created a website exactly as explained in their install guide, but am having some problems, and would like to see what the IIS log has to say. Embarrassingly enough, the problem is I can't find the log files!

所以我的问题是:IIS7默认存储日志在哪里?

So my question is: Where does IIS7 store logs by default?

推荐答案

我认为访问日志的默认位置是

I think the default place for access logs is

%SystemDrive%\inetpub\logs\LogFiles

否则,请在IIS管理器下查看,选择左窗格中的计算机和中间窗格中的计算机位于IIS区域中的日志记录下。在那里,您将获得所有网站的默认位置(但在所有网站上都可以覆盖)

Otherwise, check under IIS Manager, select the computer on the left pane, and in the middle pane, go under "Logging" in the IIS area. There you will se the default location for all sites (this is however overridable on all sites)

您还可以查看

%SystemDrive%\Windows\System32\LogFiles\HTTPERR

其中包含仅代表错误的类似日志文件。

Which will contain similar log files that only represents errors.

这篇关于我在哪里可以找到IIS日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆