Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-encoding
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
enstools-encoding
Commits
16ac71aa
Commit
16ac71aa
authored
2 years ago
by
Oriol Tintó Prims
Committed by
Oriol Tintó
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Change hdf5plugin logging level to Warning to avoid unnecessary output.
parent
a72afce2
No related branches found
No related tags found
1 merge request
!5
Development
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
enstools/encoding/encodings.py
+8
-0
8 additions, 0 deletions
enstools/encoding/encodings.py
with
8 additions
and
0 deletions
enstools/encoding/encodings.py
+
8
−
0
View file @
16ac71aa
...
...
@@ -19,6 +19,14 @@ from .errors import WrongCompressionSpecificationError, WrongCompressionModeErro
from
copy
import
deepcopy
from
pathlib
import
Path
import
logging
# Change hdf5plugin logging levels to Warning
loggers
=
{
name
:
logging
.
getLogger
(
name
)
for
name
in
logging
.
root
.
manager
.
loggerDict
}
hdf5plugin_loggers
=
[
key
for
key
in
loggers
.
keys
()
if
key
.
count
(
"
hdf5plugin
"
)]
for
key
in
hdf5plugin_loggers
:
loggers
[
key
].
setLevel
(
logging
.
WARNING
)
class
_Mapping
(
Mapping
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment