File tree 1 file changed +7
-1
lines changed
spring-jcl/src/main/java/org/apache/commons/logging
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2023 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.
@@ -36,6 +36,12 @@ public class LogFactoryService extends LogFactory {
36
36
private final Map <String , Object > attributes = new ConcurrentHashMap <>();
37
37
38
38
39
+ public LogFactoryService () {
40
+ System .out .println ("Standard Commons Logging discovery in action with spring-jcl: " +
41
+ "please remove commons-logging.jar from classpath in order to avoid potential conflicts" );
42
+ }
43
+
44
+
39
45
@ Override
40
46
public Log getInstance (Class <?> clazz ) {
41
47
return getInstance (clazz .getName ());
You can’t perform that action at this time.
0 commit comments