Create a constant for the Log4j-NDC extra variable
Generate the checksum only when it's possible