zoukankan      html  css  js  c++  java
  • 教你50招提升ASP.NET性能(十二):在生产环境,仔细考虑你需要记录哪些日志

    (18)When in production, carefully consider what you need to log

    招数18:

    在生产环境,仔细考虑你需要记录哪些日志

    Many people deploy to production without checking how logging is currently configured. It is always advisable to check whether your policy is to have logging on or off by default and, if on, what level you should be targeting. In addition, you should check which targets you are outputting to, what archiving strategy you have, and whether your logging infrastructure allows for async logging.
    许多人部署到生产环境没有检查日志当前的配置是怎么样的。这始终是明智的,检查你的方案是否记录或者默认关闭,如果记录打开的,你的目标应该是什么等级。另外你应该检查你的输出目标,有什么归档策略,和你的日志系统是否允许异步记录日志。

  • 相关阅读:
    mysql安装停在make[3]: Leaving directory `/mysql5.xx/mysqltest' 解决方法
    搞了个burst
    PKU2074
    PKU2029
    ACM/ICPC要求的知识点(转)
    PKU3264线段树解法
    PKU2036
    PKU1151线段树解法
    今天递了辞呈
    hamachi
  • 原文地址:https://www.cnblogs.com/JavCof/p/3198130.html
Copyright © 2011-2022 走看看