fix log no_truncate feature