Skip to content

Commit 224633f

Browse files
authored
changed logger verbosity to debug (#320)
1 parent 4318349 commit 224633f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
0.0.52 (2020-11-25)
7+
+++++++++++++++++++
8+
* Changed logging verbosity when closing a stream
9+
610
0.0.51 (2020-10-15)
711
+++++++++++++++++++
812
* Add more logging for zero byte reads to investigate root cause.

azure/datalake/store/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ def _read_blocksize(self, offset=-1):
11361136
self.cache = b""
11371137
return
11381138
if self.start <= offset < self.end:
1139-
logger.info("Read offset {offset} is within cache {start}-{end}. "
1139+
logger.debug("Read offset {offset} is within cache {start}-{end}. "
11401140
"Not going to server.".format(offset=offset, start=self.start, end=self.end))
11411141
return
11421142
if offset > self.size:
@@ -1285,7 +1285,7 @@ def close(self):
12851285
12861286
If in write mode, causes flush of any unwritten data.
12871287
"""
1288-
logger.info("closing stream")
1288+
logger.debug("closing stream")
12891289
if self.closed:
12901290
return
12911291
if self.writable():

0 commit comments

Comments
 (0)