Използвам Apache Commons logging.
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.1.0.RELEASE</version>
</dependency>
Логерите са използвали да отпечатат датата по този начин
20-Aug-2015 13:15:39.740 INFO [http-nio-8080-exec-3] com.myapp.myclass Method 'mymethod' executed. Processing time: 2 ms
Но сега се отпечатва така
91522432 [http-nio-8080-exec-3] INFO com.myapp.myclass Method 'mymethod' executed. Processing time: 2 ms <br/>
Предупреждения в дневника:
SLF4J: The requested version 1.5.8 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details
Има сблъсък, защото spring-data-jpa импортира друга версия. как да изключа това в pom?