CA2254: Template should be a static expression is a warning that the log message doesn't have a consistent structure due to being interpolated or concatenated. The solution is to use a message ...