(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.
许多人部署到生产环境没有检查日志当前的配置是怎么样的。这始终是明智的,检查你的方案是否记录或者默认关闭,如果记录打开的,你的目标应该是什么等级。另外你应该检查你的输出目标,有什么归档策略,和你的日志系统是否允许异步记录日志。

最新文章

  1. .Net中使用aliases让相同命名空间的dll引用共存
  2. The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
  3. 【HDU】1536 S-Nim
  4. C++代码段六
  5. Thinking in life(1)
  6. javascript外部ファイル
  7. flash Ane
  8. list.add(),向List集合插入对象报空指针异常
  9. chrome浏览器Timing内各字段解析
  10. Log4j各级别日志重复打印
  11. HTML笔记04---计时事件
  12. ES6 Promise 用法讲解
  13. 安装pyspider遇到的坑
  14. 【XSY2714】大佬的难题 数学 树状数组
  15. IDEA run下output标签悬浮/弹出状态
  16. mac快捷键留存查看
  17. event.currentTarget和event.target的区别
  18. JavaScript 之 动态加载JS代码或JS文件
  19. 玩转控件:重绘DEVEXPRESS中DateEdit控件 —— 让DateEdit支持只选择年月 (提供源码下载)
  20. eclipse逆向生成实体类注解方式或者xml方式

热门文章

  1. the field is sometimes used inside synchronized block and sometimes used without synchronization
  2. sed awk 要获得每行的最后一个逗号后边的内容
  3. 大四实习准备1_java构造器_android ListView
  4. bzoj2431:[HAOI2009]逆序对数列
  5. TCP编程(七)
  6. [Mac][phpMyAdmin] [2002] No such file or directory
  7. idea开发工具中你可能不知道的却又比较好用的快捷键
  8. date 获取昨天日期
  9. CF GYM 100703L Many questions
  10. C# 中winform的一些属性设置