Q:

Change log level of generated CXF server with Spring Boot

I have generated a CXF server using wsdl2java and I'm facing issues with the resulting web service for external reasons. In order to properly debug it, I'd like to change the log level of this CXF server from default to something very verbose (DEBUG?).
I have checked here and there, but I don't get it and it seems like the solutions are not adapted to my code. I have no idea where to put the pieces of code that are given and I didn't configure my Spring application with XML files.
Here is the generated ValidationPort_BasicHttpBindingValidation_Server by wsdl2java:
// I have edited this WS a little to run it with spring instead of a main.
@Component
@Slf4j
public class ValidationPort_BasicHttpBindingValidation_Server {
    public final static String ADDRESS = "http://localhost/PRE-VAROTH/Validation/V1";

    protected ValidationPort_BasicHttpBindingValidation_Server() {
        log.info("Starting Server");
        Endpoint.publish(ADDRESS, new BasicHttpBinding_ValidationImpl());
    }
}

My logging framework is Slf4j and I'd like the log to be passed to that framework. I think I can make this part work but when I launch my server and try a sample SOAP request I don't see anything on the log or the console...
Here is my Spring Boot entry point:
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

    @Value("${server.http.port}")
    private int serverPortHttp;

    @Value("${server.port}")
    private int serverPortHttps;

    private Connector createHttpConnector() {
        Connector connector = new Connector("org.apache.coyote.http11.Http11NioProtocol");
        connector.setScheme("http");
        connector.setSecure(false);
        connector.setPort(serverPortHttp);
        connector.setRedirectPort(serverPortHttps);
        return connector;
    }
}

How am I supposed to change properly the logging level of this CXF server?

A:

By default, Spring Boot configures logging to log to the console at INFO level. To set the logging level to DEBUG, you should create properties in application.properties that are prefixed with logging.level:
logging.level.root=DEBUG

More info on Spring Boot logging can be found here.

