mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 06:58:38 +08:00
chore: 优化日志级别 info => debug
This commit is contained in:
@@ -132,6 +132,6 @@ public class SpringDocAutoConfiguration implements WebMvcConfigurer {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'ApiDoc' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'ApiDoc' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -51,6 +51,6 @@ public class JustAuthAutoConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'JustAuth' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'JustAuth' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -88,6 +88,6 @@ public class SaTokenAutoConfiguration implements WebMvcConfigurer {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'SaToken' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'SaToken' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -113,7 +113,7 @@ public class RedissonAutoConfiguration {
|
|||||||
}
|
}
|
||||||
// Jackson 处理
|
// Jackson 处理
|
||||||
config.setCodec(new JsonJacksonCodec(objectMapper));
|
config.setCodec(new JsonJacksonCodec(objectMapper));
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Redisson' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Redisson' completed initialization.");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -139,6 +139,6 @@ public class BehaviorCaptchaAutoConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Behavior Captcha' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Behavior Captcha' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,6 +37,6 @@ public class GraphicCaptchaAutoConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Graphic Captcha' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Graphic Captcha' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -71,7 +71,7 @@ public class CorsAutoConfiguration {
|
|||||||
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
||||||
source.registerCorsConfiguration(StringConstants.PATH_PATTERN, config);
|
source.registerCorsConfiguration(StringConstants.PATH_PATTERN, config);
|
||||||
CorsFilter corsFilter = new CorsFilter(source);
|
CorsFilter corsFilter = new CorsFilter(source);
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'CorsFilter' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'CorsFilter' completed initialization.");
|
||||||
return corsFilter;
|
return corsFilter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -54,7 +54,7 @@ public class AsyncAutoConfiguration implements AsyncConfigurer {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Executor getAsyncExecutor() {
|
public Executor getAsyncExecutor() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'AsyncConfigurer' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'AsyncConfigurer' completed initialization.");
|
||||||
return scheduledExecutorService;
|
return scheduledExecutorService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -68,7 +68,7 @@ public class ThreadPoolAutoConfiguration {
|
|||||||
executor.setKeepAliveSeconds(properties.getKeepAliveSeconds());
|
executor.setKeepAliveSeconds(properties.getKeepAliveSeconds());
|
||||||
// 配置当池内线程数已达到上限的时候,该如何处理新任务:不在新线程中执行任务,而是由调用者所在的线程来执行
|
// 配置当池内线程数已达到上限的时候,该如何处理新任务:不在新线程中执行任务,而是由调用者所在的线程来执行
|
||||||
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'ThreadPoolTaskExecutor' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'ThreadPoolTaskExecutor' completed initialization.");
|
||||||
return executor;
|
return executor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ public class ThreadPoolAutoConfiguration {
|
|||||||
ExceptionUtils.printException(runnable, throwable);
|
ExceptionUtils.printException(runnable, throwable);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'ScheduledExecutorService' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'ScheduledExecutorService' completed initialization.");
|
||||||
return executor;
|
return executor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -114,6 +114,6 @@ public class MybatisPlusAutoConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'MyBatis Plus' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'MyBatis Plus' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -59,6 +59,6 @@ public class CrudAutoConfiguration extends DelegatingWebMvcConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Extension-CRUD' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Extension-CRUD' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -72,7 +72,7 @@ public class JacksonAutoConfiguration {
|
|||||||
javaTimeModule.addDeserializer(LocalTime.class, new LocalTimeDeserializer(timeFormatter));
|
javaTimeModule.addDeserializer(LocalTime.class, new LocalTimeDeserializer(timeFormatter));
|
||||||
builder.timeZone(TimeZone.getDefault());
|
builder.timeZone(TimeZone.getDefault());
|
||||||
builder.modules(javaTimeModule);
|
builder.modules(javaTimeModule);
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Jackson' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Jackson' completed initialization.");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -72,6 +72,6 @@ public class LogAutoConfiguration implements WebMvcConfigurer {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Log-HttpTracePro' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Log-HttpTracePro' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -35,6 +35,6 @@ public class MailAutoConfiguration {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Mail' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Mail' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -70,6 +70,6 @@ public class LocalStorageAutoConfiguration implements WebMvcConfigurer {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void postConstruct() {
|
public void postConstruct() {
|
||||||
log.info("[ContiNew Starter] - Auto Configuration 'Storage-Local' completed initialization.");
|
log.debug("[ContiNew Starter] - Auto Configuration 'Storage-Local' completed initialization.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user