记录iisreset [英] logging iisreset

查看:185
本文介绍了记录iisreset的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有日志可以让您知道网站何时停止并在iis中启动?

Is there a log that lets you know when the web site was stopped and started in iis?

我正在寻找一种方法来查看网站的时间停止并开始。

I'm looking for a way to see when the web site was stopped and started.

有没有人知道是否有办法看到?

Does anyone know if there is a way to see?

推荐答案

最好的办法是在Application_start中的global.asax文件中添加一些东西。

Your best bet is to put something in your global.asax file in Application_start.

您可以在日志文件中添加内容,或在发生火灾时自行发送电子邮件。

You can add something to a log file, or shoot yourself an email whenever this fires.

这篇关于记录iisreset的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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