Commit e0e63e4
committed
Dynamic loading of slf4j binding does not work
See https://github.com/culturegraph/metafacture-runner/issues/2
This commit adds the log4j binding for slf4j to the class path.
Our attempts to load the slf4j binding dynamically from the
`provided-libs` dir does not work as expected. slf4j does not consider
the context class loader for loading its binding but relies on the class
loader which was used to load the classes of the slf4j api. Until a
solution is found for this problem, the binding need to be placed on the
class pathslf4j does not consider
the context class loader for loading its binding but relies on the class
loader which was used to load the classes of the slf4j api. Until a
solution is found for this problem, the binding need to be placed on the
class path.1 parent e988cfe commit e0e63e4
1 file changed
+22
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
239 | 233 | | |
240 | 234 | | |
241 | 235 | | |
242 | 236 | | |
243 | | - | |
244 | 237 | | |
245 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
246 | 253 | | |
247 | 254 | | |
248 | 255 | | |
| |||
0 commit comments