limit the dumping of huge messages in logs