switch to use parameterized logging