Hello Raymond,
Raymond Cramer wrote:
I'm new to slf4j, having been using log4j. I am trying to use a
package (netcdf) that requires slf4j, but am having problems getting
my head around some of this stuff.
1) If I have an application (which uses log4j) deployed through
Tomcat, do I
It looks like netcdf was compiled against nlog4j, which predates SLF4J 1.0.
Nlog4j is no longer being maintained.
I can see two options:
1) replace nlog4j.jar with vanilla log4j.jar. Then, add the latest
slf4j-api.jar
and slf4j-log4j12.jar (that would be SLF4J 1.5.5) on the class path.
I can see in the toolsUI-2.2.22.jar, which is netcdf with all the trimming,
that they have an org/slf4j/impl branch with NLOG4J, NOP, and
SimpleLoggerFactories if thats what you mean. There is no log4jLoggerFactory.
But I don't have or use nlog4j.jar, so can't apply 1). I could try 2) but that