Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4561f05c
Commit
4561f05c
authored
Aug 31, 2020
by
Lysandre
Browse files
Set default logging level to `WARNING` instead of `INFO`
parent
05c32141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/utils/logging.py
src/transformers/utils/logging.py
+1
-1
No files found.
src/transformers/utils/logging.py
View file @
4561f05c
...
...
@@ -54,7 +54,7 @@ def _configure_library_root_logger() -> None:
# Apply our default configuration to the library root logger.
library_root_logger
=
_get_library_root_logger
()
library_root_logger
.
addHandler
(
_default_handler
)
library_root_logger
.
setLevel
(
logging
.
INFO
)
library_root_logger
.
setLevel
(
logging
.
WARN
)
library_root_logger
.
propagate
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment