`logger.debug("Requested subprotocol(s) not supported: {}", subprotocols);` should work. Same for the other debug messages.