Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit dfd2ee3

Browse files
committed
Set default logging level to WARNING instead of INFO.
1 parent 08f06b5 commit dfd2ee3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

zpar/DepParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import re
1111

1212
# set up the logging
13-
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
13+
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.WARNING)
1414

1515

1616
class DepParser(object):

zpar/Parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import re
1111

1212
# set up the logging
13-
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
13+
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.WARNING)
1414

1515
class Parser(object):
1616
"""The ZPar English Constituency Parser"""

zpar/Tagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import re
1010

1111
# set up the logging
12-
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
12+
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.WARNING)
1313

1414

1515
class Tagger(object):

0 commit comments

Comments
 (0)