This may not be correct. Perhaps use logger.debug("%s %s %s", ....) instead.