Why aren't my IIS Logs being copied for my Azure web role?

試著忘記壹切 提交于 2019-12-04 22:33:12

Few suggestions:

  1. Lower the OverallQuotaInMB to something like 4000

  2. Increase BufferQuotaInMB under the Directories node to a number (say 1 gig)

  3. Lower the other individual Directory quotas so that they add up to something slightly less than BufferQuotaInMB in #2 and so that ALL of the quotas (including the overall Directories and and individual Folders are under OverallQuotaInMB). IE: Logs - 1gig (this is trace data), Directories: 1 gig, FailedRequests: 256mb, IISLogs: 256mb, CrashDumps: 256mb

  4. Reboot your servers (just in case)

  5. Good luck

Basically, I've seen diagnostics act fussy when the overall quota is set to the max space that Azure allocates for diagnostics storage (4gig). Lowering individual quotas so that they add up to something less than total quota also helps because if Azure Diagnostics ever fills up, there is breathing room before Azure removes old data.

Overall, setting up Azure Diagnostics is something of a black magic art. I've been helping AzureWatch customers do this for two years now and I still feel like I'm fumbling with the quotas. Wish they would just let users turn the thing on or off have the entire config be driven by convention vs. configuration. Almost noone ever cares to capture the data onto their VM's and not transfer it to azure storage and thus small quotas are totally fine for majority of the cases as majority of folks transfer their data to storage every few minutes.

HTH

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!