Standardizing logging messages