use of com.navercorp.pinpoint.common.server.env.EnvironmentLoggingListener in project pinpoint by naver.
the class BasicStarter method start.
public void start(String[] args) {
SpringApplicationBuilder builder = new SpringApplicationBuilder();
builder.sources(sources);
builder.web(WebApplicationType.SERVLET);
builder.bannerMode(Banner.Mode.OFF);
builder.listeners(new ProfileResolveListener());
builder.listeners(new EnvironmentLoggingListener());
builder.listeners(new ExternalEnvironmentListener(externalPropertySourceName, externalConfigurationKey));
builder.listeners(new PinpointSpringBanner());
SpringApplication springApplication = builder.build();
springApplication.run(args);
}
Aggregations