Modified log format
Modified error log
Add -k option for hg

http://d.hatena.ne.jp/flying-foozy/20100429/1272528071