add log_enable(3,1) for performance