finish log module.