[ome-users] Suppress debug and exception output

Joe Ping-Lin Hsiao phsiao at cs.unc.edu
Tue Aug 18 21:20:01 BST 2015


Hi,

I am using Bio-formats as a reader in my C++ program through the JACE C++
binding. When I run the 'showinf' program, I got a lot of debug and
exception messages on the console, such as:

16:15:52.399 [main] DEBUG loci.common.services.ServiceFactory - CLASSPATH
missing interface: loci.formats.services.MetakitService
java.lang.ClassNotFoundException: loci.formats.services.MetakitService
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_79]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_79]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_79]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_79]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_79]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
~[na:1.7.0_79]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_79]
at java.lang.Class.forName0(Native Method) ~[na:1.7.0_79]
at java.lang.Class.forName(Class.java:274) ~[na:1.7.0_79]
at loci.common.services.ServiceFactory.<init>(ServiceFactory.java:120)
[formats-common-5.1.2.jar:5.1.2]
at loci.common.services.ServiceFactory.<init>(ServiceFactory.java:79)
[formats-common-5.1.2.jar:5.1.2]
at loci.formats.MetadataTools.populatePixels(MetadataTools.java:144)
[formats-api-5.1.2.jar:5.1.2]
at loci.formats.MetadataTools.populatePixels(MetadataTools.java:93)
[formats-api-5.1.2.jar:5.1.2]
at loci.formats.in.PGMReader.initFile(PGMReader.java:212)
[formats-bsd-5.1.2.jar:5.1.2]
at loci.formats.FormatReader.setId(FormatReader.java:1426)
[formats-api-5.1.2.jar:5.1.2]
at loci.formats.ImageReader.setId(ImageReader.java:835)
[formats-api-5.1.2.jar:5.1.2]


Any idea how to suppress them?

Thanks,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20150818/c6d30c1c/attachment.html>


More information about the ome-users mailing list