Reduce log writing