Reduce logging in various situations