IIS 6 日志 MIA
我正在尝试查找 IIS 日志文件,但似乎遇到了问题。
首先,我进入 IIS,右键单击相关站点并选择属性...
在“网站”选项卡下选中“启用日志记录”复选框。
活动日志格式设置为W3C 扩展日志文件格式。
要获取日志文件的存储位置,我单击日志格式下拉列表旁边的“属性”按钮。它的路径为C:\WINDOWS\system32\LogFiles
。然后在该输入框下方,日志文件名为 W3SVC1919798527\exyymmdd.log
问题是文件夹 W3SVC1919798527
不存在于 C:\ WINDOWS\system32\LogFiles
文件夹...它似乎也不存在于 PC 上的任何地方...我做错了什么?在哪里可以找到该站点的日志文件?或者我完全误解了日志文件是什么以及在哪里可以找到它?
谢谢
I'm trying to find my IIS log files and I seem to be having a problem.
First off I've gone into IIS and right clicked on the site in question and selected properties...
Under the Web Site tab I have the Enable Logging check box checked.
The active log format is set to W3C Extended Log File Format.
To get where the log files should be being stored I click the Properties button next to the log format drop down list. It has this path as C:\WINDOWS\system32\LogFiles
. Then below that input box it has the log file name as W3SVC1919798527\exyymmdd.log
The problem is that the folder W3SVC1919798527
doesn't exist in the C:\WINDOWS\system32\LogFiles
folder... nor does it appear to exist on the PC anywhere... What am I doing wrong? Where can I find the log files for this site? Or am I totally misunderstanding what a log file is and where to find it?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,在 IIS 中查看网站的属性对话框时,我必须选中主目录选项卡上的日志访问复选框。
Ok, I had to check the Log Visits check box on the Home Directory tab when viewing the properties dialog box of the web site in IIS.
该站点是否启用了日志记录?
搜索以 .log 结尾的任何内容怎么样?或者里面有w3svc?
Is logging enabled for the site?
How about searching for anything that ends with .log? Or has w3svc in it?