diff --git a/pims/bioformats.py b/pims/bioformats.py index 5210862..9467272 100644 --- a/pims/bioformats.py +++ b/pims/bioformats.py @@ -1,6 +1,7 @@ from __future__ import (absolute_import, division, print_function, unicode_literals) +from turtle import pd import numpy as np from pims.base_frames import FramesSequence, FramesSequenceND @@ -345,6 +346,10 @@ def __init__(self, filename, meta=True, java_memory='512m', jpype.startJVM(jpype.getDefaultJVMPath(), '-ea', '-Djava.class.path=' + bioformats_package_path, '-Xmx' + java_memory, **startJVM_kwargs) + logback = jpype.JPackage('ch.qos.logback.classic') + logger_context = logback.LoggerContext() + logback.BasicConfigurator().setContext(logger_context) + logback.BasicConfigurator().configure(logger_context) if not jpype.isThreadAttachedToJVM(): jpype.attachThreadToJVM()