ehcache / ehcache3

Ehcache 3.x line
http://www.ehcache.org
Apache License 2.0
2k stars 579 forks source link

Logging undocumented #3160

Open Chealer opened 1 year ago

Chealer commented 1 year ago

Ehcache uses the Simple Logging Facade for Java (SLF4J) for logging. While it may seek simplicity, it remains a facade, i.e. an abstraction which complexifies in a sense, requiring users to choose a provider. Without such a provider, warnings such as "Failed to load class org.slf4j.impl.StaticLoggerBinder" will be logged.

This is well documented in the Logging page of Ehcache 2's documentation, but unfortunately, I can't see any equivalent in version 3's documentation. The page should be at least transferred, but also updated to cover modern providers such as log4j-slf4j2-impl.