Skip to content

Commit b485d63

Browse files
committed
Logging ignored encodings on level DEBUG because they are too common when processing NetCDF files
1 parent 1de1639 commit b485d63

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Version 0.2.1 (in development)
22

3+
### Enhancements
4+
35
* Allow for passing custom slice sources via the configuration.
46
The new configuration setting `slice_source` is the name of a class
57
derived from `zappend.api.SliceSource` or a function that creates an instance
@@ -13,6 +15,10 @@
1315

1416
* Enhanced documentation including docstrings of several Python API objects.
1517

18+
### Fixes
19+
20+
* Now logging ignored encodings on level DEBUG instead of WARNING because they
21+
occur very likely when processing NetCDF files.
1622

1723
## Version 0.2.0 (from 2024-18-01)
1824

zappend/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def __init__(
5050
self.compressor = compressor
5151
self.filters = filters
5252
if unknown_settings:
53-
logger.warning(
54-
"Ignoring unknown encoding setting(s): %s",
53+
logger.debug(
54+
"Ignoring non-applicable encoding setting(s): %s",
5555
", ".join(unknown_settings.keys()),
5656
)
5757

0 commit comments

Comments
 (0)