-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from /issues/89
Fix demo script.
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Python-bioformats is distributed under the GNU General Public | ||
# License, but this file is licensed under the more permissive BSD | ||
# license. See the accompanying file LICENSE for details. | ||
# | ||
# | ||
# Copyright (c) 2009-2014 Broad Institute | ||
# All rights reserved. | ||
|
||
import javabridge | ||
|
||
def basic_config(): | ||
'''Configure logging for "WARN" level''' | ||
javabridge.JClassWrapper("loci.common.Log4jTools").enableLogging("WARN") | ||
log4j = javabridge.JClassWrapper("loci.common.Log4jTools") | ||
log4j.enableLogging() | ||
log4j.setRootLevel("WARN") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters