try to improve the performance of CCLOG