log4j 配置导致的性能问题

cpu 占用居高不下。
问题是,log4j 的配置不当。
参看:
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

pattern L M 应该只在 debug 级别使用,呵呵。
stack 也是。

参见: http://weblogs.java.net/blog/zarar/archive/2005/11/sneaky_sneaky_l.html

eclipse 下如何link 外部文件。

Eclipse really wants to create a project directory to hold its metadata. However, there's nothing that stops you from having a folder "within" a project but located outside of it.

File -> New Project

then

File -> New Folder, click "Advanced" and select "Link to folder in the file system".

I'd suggest you avoid linking folders that exist as subdirectories of your workspace directory. Linking something that's a subdirectory of a workspace directory will lead to a world of pain and resources being out of sync.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值