Changing logging calls to use args instead of %.