首页 \ 问答 \ 在哪里可以找到IIS日志?(Where can I find the IIS logs?)

在哪里可以找到IIS日志?(Where can I find the IIS logs?)

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

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


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!

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


原文:https://stackoverflow.com/questions/6426375
更新时间:2021-12-11 16:12

最满意答案

这两种解决方案都是好的,两者都有利弊。

上帝配置文件是用Ruby编写的,所以你可以基本上做一些Ruby让你做的事情,这是很多东西。 Monit必须使用自己的语法进行配置,通常可以使用更多的限制。 无论如何,您还可以使用Ruby生成monit配置(作为部署策略的一部分)。

此外,monit使用较少的资源,所以如果您使用VPS或只是没有任何备用内存,monit可能是一个更好的选择。 就个人而言,我更喜欢上帝,因为它更可配置。

这是一个非常好的屏幕录像上帝 。 在这个屏幕录像的评论中还有很多反馈。


Both solutions are good, and there are some pros and cons for both of them.

God config file is written in Ruby, so you can do basically everything Ruby allows you to do, and it's a lot of stuff. Monit has to be configured using its own syntax, it's usually OK but more restrictive. Anyway, you can also generate monit config with Ruby (as a part of your deployment strategy).

Also, monit uses less resources, so if you're on VPS or just don't have any spare memory, monit could be a better choice. Personally, I prefer god, as it's more configurable.

Here's a very good screencast on god. There's also a lot of feedback in comments to this screencast.

相关问答

更多
  • 编辑vim /etc/monit/monitrc ,从行118开始,取消注释下面的行 set httpd port 2812 use address localhost # only accept connection from localhost allow localhost # allow localhost to connect to the server and allow admin:monit sudo monit reload影响 阅读更多 edi ...
  • 我使用Redmine和...我喜欢它) svn和git工作正常,它有更多的实现(Darcs,Mercurial,Cvs,Bazaar,Filesystem?),但没有尝试使用它们 关于安装 - 在我的情况下,我的主机上的自动安装程序,所以我不能说一件事,你应该能够找到很多教程 售票/错误跟踪 - 我认为,对于RM和Trac来说,它是主要功能,所以写得太多;)您可以配置角色,链接用户或组与项目,指定每个角色,您可以指定自己的问题)类型,例如。 错误,新想法,问题优先级你有甘特图(你可以指定每个问题的最后期限) ...
  • 鉴于Upstart只是检查PID,像Monit这样一个实际请求的工具将更加忠实地为您提供应用程序理解的答案。 一个进程可能会快乐地运行,但是以某种方式被阻塞,使得它不是服务请求。 Given that Upstart just checks the PID, a tool like Monit that makes an actual request will provide you an answer of app sanity more faithfully. A process may happily ...
  • 这两种解决方案都是好的,两者都有利弊。 上帝配置文件是用Ruby编写的,所以你可以基本上做一些Ruby让你做的事情,这是很多东西。 Monit必须使用自己的语法进行配置,通常可以使用更多的限制。 无论如何,您还可以使用Ruby生成monit配置(作为部署策略的一部分)。 此外,monit使用较少的资源,所以如果您使用VPS或只是没有任何备用内存,monit可能是一个更好的选择。 就个人而言,我更喜欢上帝,因为它更可配置。 这是一个非常好的屏幕录像上帝 。 在这个屏幕录像的评论中还有很多反馈。 Both so ...
  • 这是我如何得到这个工作。 除了主动维护之外,还可以使用delayed_job的collectiveidea fork ,这个版本有一个很好的script/delayed_job守护进程,你可以使用monit。 Railscasts有一个关于这个版本的delayed_job ( ASCIICasts版本 ) 的好剧集 。 此脚本还具有其他一些不错的功能,例如运行多个工作人员的功能。 我不在这里覆盖 安装monit 我从源代码安装,因为Ubuntu的版本太可笑了。 我按照这些说明来获取Ubuntu软件包附带的标 ...
  • 我知道这是一个旧的线程,但我以为我会发表一个xUnit.NET的投票。 尽管所提到的大多数其他测试框架都非常相似,但xUnit.NET采用了独特的,现代化和灵活的单元测试方法。 它改变了术语,所以你不再定义TestFixtures和Tests ...你指定了关于你的代码的事实和理论,它更好地集成了从TDD / BDD角度来看测试的概念。 xUnit.NET也是极其可扩展的。 它的FactAttribute和TraitAttribute属性类没有被封装,并且提供了可以覆盖的基本方法,这些方法可以很好地控制这些 ...
  • Groovy是一种动态类型语言,其语法非常接近于Java,具有许多语法改进,允许更轻的代码和更少的样板。 它可以通过解释器和编译,这使得它很好地快速原型,脚本和学习动态语言,而不必学习新的语法(假设你知道Java)。 从Groovy 2.0开始,它也越来越支持静态编译 。 Groovy支持闭包,并且支持编程有点功能的风格,尽管它与传统的功能编程定义相距甚远。 Clojure是Lisp的一种方言,具有一些高级功能,如软件事务内存 。 如果您喜欢Lisp,并希望在JVM下使用类似的东西,Clojure是为您而设 ...
  • 我会把保持上帝的责任放在操作系统更核心的东西上。 在Ubuntu上,也许你可以用upstart来发射和监视上帝。 但我自己并没有这样做。 使用monit的唯一其他好处似乎是可能监视上帝的内存使用情况,这在过去曾有过一些泄漏。 I would put the responsibility of keeping god running on something more core to the OS. On Ubuntu maybe you could use upstart to launch and mon ...
  • 关键是,beestings不那么灵活但速度更快。 beestings将在最后加载值,如果需要,不允许您更改值。 例如#1,beestings很好,但我强烈建议你不要使用它们,例如#2 asp.net控件对于捕获用户输入有很多好处,包括防止脚本注入攻击。 The crux is that beestings are less flexible but faster. The beestings will load the value at the very end which does not allow y ...
  • QuickBooks非常成熟,比其他系统更受欢迎。 找到熟悉QuickBooks的会计师比找到熟悉其他两个会计师的会计师要容易得多。 就开发而言,QuickBooks拥有相当强大的开发人员社区,并且集成/ SDK非常灵活。 有一个官方的QuickBooks SDK非常容易使用,可从Intuit的网站下载。 论坛也是一个很好的资源: https://idnforums.intuit.com/ QuickBooks is very mature and much, much more popular than ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)