Add the logging info for the primitives.