Mercurial > dive4elements > river
comparison backend/pom.xml @ 9750:432934cda171 3.2.x
Fix logging setup
_ Silence message about missing SLF4J implementation
_ Route java.util.logging to Log4J (at least restlet is affected)
_ Let messages of additional loggers pass to the root loggers appender
(otherwise, they don't appear at all)
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 10 Oct 2022 15:29:44 +0200 |
parents | b1b48fa7bd80 |
children | 71188efb16b0 |
comparison
equal
deleted
inserted
replaced
9749:68c6fe74a276 | 9750:432934cda171 |
---|---|
107 </executions> | 107 </executions> |
108 </plugin> | 108 </plugin> |
109 </plugins> | 109 </plugins> |
110 </build> | 110 </build> |
111 | 111 |
112 <dependencyManagement> | |
113 <dependencies> | |
114 <dependency> | |
115 <groupId>org.apache.logging.log4j</groupId> | |
116 <artifactId>log4j-bom</artifactId> | |
117 <version>2.17.1</version> | |
118 <scope>import</scope> | |
119 <type>pom</type> | |
120 </dependency> | |
121 </dependencies> | |
122 </dependencyManagement> | |
123 | |
112 <dependencies> | 124 <dependencies> |
113 <dependency> | 125 <dependency> |
114 <groupId>org.dive4elements</groupId> | 126 <groupId>org.dive4elements</groupId> |
115 <artifactId>artifacts-common</artifactId> | 127 <artifactId>artifacts-common</artifactId> |
116 <version>1.0-SNAPSHOT</version> | 128 <version>1.0-SNAPSHOT</version> |
137 <dependency> | 149 <dependency> |
138 <groupId>org.hibernate.javax.persistence</groupId> | 150 <groupId>org.hibernate.javax.persistence</groupId> |
139 <artifactId>hibernate-jpa-2.0-api</artifactId> | 151 <artifactId>hibernate-jpa-2.0-api</artifactId> |
140 <version>1.0.1.Final</version> | 152 <version>1.0.1.Final</version> |
141 </dependency> | 153 </dependency> |
154 | |
155 <!-- Logging --> | |
142 <dependency> | 156 <dependency> |
143 <groupId>org.apache.logging.log4j</groupId> | 157 <groupId>org.apache.logging.log4j</groupId> |
144 <artifactId>log4j-api</artifactId> | 158 <artifactId>log4j-api</artifactId> |
145 <version>2.17.1</version> | |
146 </dependency> | 159 </dependency> |
147 <dependency> | 160 <dependency> |
148 <groupId>org.apache.logging.log4j</groupId> | 161 <groupId>org.apache.logging.log4j</groupId> |
149 <artifactId>log4j-core</artifactId> | 162 <artifactId>log4j-core</artifactId> |
150 <version>2.17.1</version> | 163 <scope>runtime</scope> |
151 <scope>runtime</scope> | 164 </dependency> |
152 </dependency> | 165 <dependency> |
166 <groupId>org.apache.logging.log4j</groupId> | |
167 <artifactId>log4j-slf4j-impl</artifactId> | |
168 <scope>runtime</scope> | |
169 </dependency> | |
170 <dependency> | |
171 <groupId>org.apache.logging.log4j</groupId> | |
172 <artifactId>log4j-jul</artifactId> | |
173 <scope>runtime</scope> | |
174 </dependency> | |
175 | |
153 <dependency> | 176 <dependency> |
154 <groupId>org.apache.commons</groupId> | 177 <groupId>org.apache.commons</groupId> |
155 <artifactId>commons-dbcp2</artifactId> | 178 <artifactId>commons-dbcp2</artifactId> |
156 <version>2.1.1</version> | 179 <version>2.1.1</version> |
157 </dependency> | 180 </dependency> |