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

查看:34
本文介绍了IIS:在哪里可以找到 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%inetpublogsLogFiles

否则,请在 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%WindowsSystem32LogFilesHTTPERR

其中将包含仅表示错误的类似日志文件.

Which will contain similar log files that only represents errors.

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

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