Skip to content

Commit

Permalink
Change log4j12 to reload4j (#84)
Browse files Browse the repository at this point in the history
reload4j is a drop-in replacement for log4j 1.2.17

The binary compatibility issue [0] between earlier versions of reload4j
and slf4j-log4j12 has been fixed.
Although it is recommended that you use slf4j-reload4j as the preferred
adapter for the slf4j/reload4j combination, with reload4j version 1.2.21
and later you can freely mix any version of slf4j-log4j12, if you have to.

From Docker:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/src/openseedbox/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/play/framework/lib/slf4j-log4j12-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]

[0]: qos-ch/reload4j#41
  • Loading branch information
xabolcs committed Jun 23, 2022
1 parent 70117be commit e8a8019
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conf/dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Application dependencies

require:
- play [1.3.4,1.5[
- play [1.3.4,1.5[:
exclude:
- log4j -> *
- org.slf4j -> slf4j-log4j12
- play -> siena 2.0.7:
transitive: false
- openseedbox-common -> openseedbox-common latest.integration
- ch.qos.reload4j -> reload4j [1.2.21,2[:
transitive: false
- org.slf4j -> slf4j-reload4j [1.7.0,2[
- org.postgresql -> postgresql 42.3.4:
force: true

Expand Down

0 comments on commit e8a8019

Please sign in to comment.