日志
beststone1
我目前做金融行业风控项目
展开
-
打印日志的10个建议
1,工欲善其事,必先利其器很多程序员可能都忘了记录应用程序的行为和当前活动是多么重要。有的人很高兴的就在代码里加上了这么句:log.info("Happy and carefree logging");他可能都没有意识到应用程序的日志在维护,调优和故障识别中的重要性。低估了一个好的日志的价值是非常错误的。我认为,slf4j是最好的日志API,最主要是因为它支持一个很棒的模式注入的方式:log.d...转载 2018-05-09 18:00:09 · 279 阅读 · 0 评论 -
日志
日志挂载命令 web: mount -t nfs 192.168.0.1:/opt/tomcat-xxxweb /mnt/xxx_log/online/tomcat-xxxweb server: mount -t nfs 192.168.0.1:/opt/tomcat-xxxserver /mnt/xxx_log/online/tomcat-xxxserver ap...原创 2018-09-28 11:29:32 · 115 阅读 · 0 评论