Logger updates to replace tokens in format string