Revision b8c89622
Added by Andreas Müller almost 2 years ago
pom.xml | ||
---|---|---|
12 | 12 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | 13 |
<jetty-version>9.4.26.v20200117</jetty-version> |
14 | 14 |
<doclint>none</doclint> |
15 |
<log4j.version>2.18.0</log4j.version> |
|
16 |
<slf4j.version>1.7.36</slf4j.version> |
|
15 | 17 |
</properties> |
16 | 18 |
|
17 | 19 |
<scm> |
... | ... | |
656 | 658 |
</repository> |
657 | 659 |
</distributionManagement> |
658 | 660 |
|
661 |
<dependencyManagement> |
|
662 |
<dependencies> |
|
663 |
<dependency> |
|
664 |
<groupId>org.slf4j</groupId> |
|
665 |
<artifactId>slf4j-api</artifactId> |
|
666 |
<version>${slf4j.version}</version> |
|
667 |
</dependency> |
|
668 |
</dependencies> |
|
669 |
</dependencyManagement> |
|
659 | 670 |
<dependencies> |
660 | 671 |
<!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. |
661 | 672 |
The cdm-server Bootlader however relies on a specific name of the cdm-webapp |
... | ... | |
680 | 691 |
<artifactId>jetty-webapp-logging</artifactId> |
681 | 692 |
<version>9.4.20.v20190813</version><!-- versioning independent of jetty core --> |
682 | 693 |
<type>pom</type><!-- we only need the dependencies like jul-to-slf4j managed in this pom! --> |
694 |
<exclusions> |
|
695 |
<exclusion> |
|
696 |
<groupId>org.slf4j</groupId> |
|
697 |
<artifactId>log4j-over-slf4j</artifactId> |
|
698 |
</exclusion> |
|
699 |
</exclusions> |
|
683 | 700 |
</dependency> |
684 | 701 |
<dependency> |
685 | 702 |
<groupId>org.eclipse.jetty</groupId> |
... | ... | |
747 | 764 |
<dependency> |
748 | 765 |
<groupId>org.slf4j</groupId> |
749 | 766 |
<artifactId>slf4j-api</artifactId> |
750 |
<version>1.7.32</version> |
|
751 | 767 |
</dependency> |
752 | 768 |
<dependency> |
753 |
<groupId>org.slf4j</groupId> |
|
754 |
<artifactId>slf4j-log4j12</artifactId> |
|
755 |
<version>1.7.32</version> |
|
769 |
<!-- move all logging to log4j 2--> |
|
770 |
<groupId>org.apache.logging.log4j</groupId> |
|
771 |
<artifactId>log4j-slf4j-impl</artifactId> |
|
772 |
<version>${log4j.version}</version> |
|
773 |
</dependency> |
|
774 |
<dependency> |
|
775 |
<groupId>org.apache.logging.log4j</groupId> |
|
776 |
<artifactId>log4j-core</artifactId> |
|
777 |
<version>${log4j.version}</version> |
|
756 | 778 |
</dependency> |
779 |
|
|
757 | 780 |
<dependency> |
758 | 781 |
<groupId>commons-cli</groupId> |
759 | 782 |
<artifactId>commons-cli</artifactId> |
Also available in: Unified diff
ref #9359, ref #10072, ref #10095 use log4j2 in cdmserver