prevent logs from being commited