查找部署日期/时间 [英] Find Deployment Date / Time

查看:127
本文介绍了查找部署日期/时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在azure门户中,找不到上次部署Web应用程序的时间.我有2个部署插槽,生产和暂存.我总是部署到暂存,然后在暂存和生产之间切换.

In the azure portal, I cannot find when my web app was last deployed. I have 2 deployment slots, production and staging. I always deploy to staging and then I swap between Staging and Production.

有时我可能会忘记是否进行了交换.或者最近,我收到错误消息,说交换失败,但是实际上我知道交换没有失败,因为我可以看到生产中的新功能.

Sometimes I might forget if i did the swap or not. Or more recently i am getting error messages saying that the swap failed, but actually i know that the swap did not fail because i can see the new features in production.

以前,我曾经能够在门户网站中看到上次发布的日期和时间.因此,我可以检查什么在生产中以及什么在登台中.使用这个日期,我知道当时是否在生产哪个版本 及时.它曾经在门户网站中存在一个具有上次发布日期和时间的字段,而我一直都在使用它.该字段现已消失.我听到有人说我应该搜索活动日志.我已经尝试过了,但是您只能使用3个月, 因此,如果我不知道上次发布的时间是什么,可能会花很长时间才能找到答案.

Previously, I used to be able to see in the portal what date and time the last publish happened. So then I can check the publish date of what is in production and what is in staging. Using this date I know which version is in production or not at that moment in time. It used to exist in the portal a field that had the date and time of last publish, and i used it all the time. This field has now disappeared. I hear some people saying i should search the activity log. I have tried this but you are limited to 3 months, so if it could take me a long time to find the answer if i have no idea when the last publish was.

所以,我的问题是,在azure门户中,我如何查看每个部署槽的上一次发布日期.

So, my question is, in the azure portal, how can i see the date that the publish was last done for each deployment slot.

我很感谢任何建议或想法.

I appreciate any suggestions or ideas.

谢谢

大卫

大卫

推荐答案

If you’re referring to and configured continuous deployment, you could find the publish date and time from the Deployment Center. See if this helps or let us know if you are looking for something else.

通过您的应用服务>导航到部署中心"刀片(请参见下面的屏幕截图):

另外,是的,使用活动日志",您可以确定对资源执行的任何写操作(PUT,POST,DELETE)的内容,对象和时间" . 您可以查询任何日期范围,只要开始日期不超过过去90天即可.

Additionally, yes, using the Activity Log, you can determine the ‘what, who, and when’ for any write operations (PUT, POST, DELETE) taken on the resources in your subscription. Activity logs are retained for 90 days. You can query for any range of dates, as long as the starting date is not more than 90 days in the past.


这篇关于查找部署日期/时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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