fixes log file extensiton usage