Adjust logging behavior.