File tree 2 files changed +10
-10
lines changed
spring-context/src/main/java/org/springframework/scheduling/concurrent
spring-context-support/src/main/java/org/springframework/cache/ehcache
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -130,8 +130,8 @@ public void setShared(boolean shared) {
130
130
131
131
@ Override
132
132
public void afterPropertiesSet () throws CacheException {
133
- if (logger .isInfoEnabled ()) {
134
- logger .info ("Initializing EhCache CacheManager" +
133
+ if (logger .isDebugEnabled ()) {
134
+ logger .debug ("Initializing EhCache CacheManager" +
135
135
(this .cacheManagerName != null ? " '" + this .cacheManagerName + "'" : "" ));
136
136
}
137
137
@@ -188,8 +188,8 @@ public boolean isSingleton() {
188
188
@ Override
189
189
public void destroy () {
190
190
if (this .cacheManager != null && this .locallyManaged ) {
191
- if (logger .isInfoEnabled ()) {
192
- logger .info ("Shutting down EhCache CacheManager" +
191
+ if (logger .isDebugEnabled ()) {
192
+ logger .debug ("Shutting down EhCache CacheManager" +
193
193
(this .cacheManagerName != null ? " '" + this .cacheManagerName + "'" : "" ));
194
194
}
195
195
this .cacheManager .shutdown ();
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2020 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -177,8 +177,8 @@ public void afterPropertiesSet() {
177
177
* Set up the ExecutorService.
178
178
*/
179
179
public void initialize () {
180
- if (logger .isInfoEnabled ()) {
181
- logger .info ("Initializing ExecutorService" + (this .beanName != null ? " '" + this .beanName + "'" : "" ));
180
+ if (logger .isDebugEnabled ()) {
181
+ logger .debug ("Initializing ExecutorService" + (this .beanName != null ? " '" + this .beanName + "'" : "" ));
182
182
}
183
183
if (!this .threadNamePrefixSet && this .beanName != null ) {
184
184
setThreadNamePrefix (this .beanName + "-" );
@@ -214,8 +214,8 @@ public void destroy() {
214
214
* @see java.util.concurrent.ExecutorService#shutdownNow()
215
215
*/
216
216
public void shutdown () {
217
- if (logger .isInfoEnabled ()) {
218
- logger .info ("Shutting down ExecutorService" + (this .beanName != null ? " '" + this .beanName + "'" : "" ));
217
+ if (logger .isDebugEnabled ()) {
218
+ logger .debug ("Shutting down ExecutorService" + (this .beanName != null ? " '" + this .beanName + "'" : "" ));
219
219
}
220
220
if (this .executor != null ) {
221
221
if (this .waitForTasksToCompleteOnShutdown ) {
You can’t perform that action at this time.
0 commit comments