Skip to content

Commit 504d709

Browse files
author
LeeKamentsky
committed
Merge pull request #54 from /issues/53
Fixes #53 rework basic_config so it uses loci.common.Log4jTools
2 parents 64bf145 + b068d99 commit 504d709

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

bioformats/log4j.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Python-bioformats is distributed under the GNU General Public
2+
# License, but this file is licensed under the more permissive BSD
3+
# license. See the accompanying file LICENSE for details.
4+
#
5+
# Copyright (c) 2009-2014 Broad Institute
6+
# All rights reserved.
7+
8+
import javabridge
9+
10+
def basic_config():
11+
'''Configure logging for "WARN" level'''
12+
javabridge.JClassWrapper("loci.common.Log4jTools").enableLogging("WARN")

0 commit comments

Comments
 (0)