The first value is an integer and the second value is a string and the format string has these backwards, leading to %!s(int=404) appearing in the logs instead of "404".