Improve logging to conserve log entries.