Log message formatting improvements.