NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] controlling logging

hi Brian, thanks for clarifying.

We just use slf4j in netcdf-java, so theres no log4j or log4j2 dependence. We have switched to log4j2 in the TDS; I was just confusing myself, but luckily not you.

John

On 2/4/2014 2:40 PM, Brian Schlining wrote:
John,

In 4.4 are you using the slf4j API with log4j2 as the logging provider
OR are you using the log4j2 API?



For 4.3 do the following:

1) you need to have these jars in your application's classpath:

slf4j-log4j12-1.7.5.jar
log4j-1.2.17.jar
[…]

In 4.4 we have switched to log4j2, so the config file is a bit different.
Ill try to update the web pages.


--
Brian Schlining



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: