mkdir log if not exist.