Improve accuracy of error/crash message header in gelf log.