Fixed error in Log