Project

General

Profile

« Previous | Next » 

Revision cf0057ee

Added by Andreas Müller almost 2 years ago

ref #10072 use log4j2 in slf4j

View differences:

pom.xml
42 42
    <doxia.version>1.11.1</doxia.version>                <!-- checked 2021-12 -->
43 43
    <poi.version>5.2.2</poi.version>                    <!-- checked 2022-06 -->
44 44
    <jackson.version>2.13.3</jackson.version>           <!-- checked 2022-05 -->
45
	<commons-logging.version>1.2</commons-logging.version> <!-- checked 2022-06 -->
46
	<slf4j.version>1.7.36</slf4j.version>               <!-- checked 2022-06 -->
45
	<commons-logging.version>1.2</commons-logging.version> <!-- checked 2022-06 --> 
46
	<!-- CAUTION when upgrading, 1.8x requires another log4j binding: https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html -->
47
    <slf4j.version>1.7.36</slf4j.version>               <!-- checked 2022-06 -->
48
	<log4j.version>2.18.0</log4j.version>
47 49
	<jaxb.version>2.3.3</jaxb.version>                 <!-- checked 2020-08, there is a newer version 3.0.0-MX, not checked if compatible -->
48 50
	<cglib.version>3.3.0</cglib.version>
49 51
	<aspectj.version>1.9.7</aspectj.version>            <!-- checked 2022-05 -->
......
696 698
        <version>${slf4j.version}</version>
697 699
      </dependency>
698 700
      <dependency>
699
        <!-- replaces slf4j-log4j12 as log4j12 redirects to reload4j as log4j12 reached EOL 2015,
700
             can maybe be removed once fully removing log4j12 (#10072), but not sure if it also
701
             supports log4j2 -->
702
        <groupId>org.slf4j</groupId>
703
        <artifactId>slf4j-reload4j</artifactId>
704
        <version>${slf4j.version}</version>
701
        <groupId>org.apache.logging.log4j</groupId>
702
        <artifactId>log4j-slf4j-impl</artifactId>
703
        <version>${log4j.version}</version>
705 704
      </dependency>
706 705
	  <dependency>
707 706
        <!-- try to generally exclude -nop as we try to use log4j12, this is done already for unitils -->
......
877 876
      <dependency>
878 877
        <groupId>org.apache.logging.log4j</groupId>
879 878
        <artifactId>log4j-core</artifactId>
880
        <version>2.18.0</version>
879
        <version>${log4j.version}</version>
881 880
      </dependency>
882 881
      <dependency>
883 882
        <groupId>org.apache.logging.log4j</groupId>
884 883
        <artifactId>log4j-api</artifactId>
885
        <version>2.18.0</version>
884
        <version>${log4j.version}</version>
886 885
      </dependency>
887 886
      
888 887
      <dependency>

Also available in: Unified diff