From d8211c7f9999e50ca8e296475ecf4434445557dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Tue, 6 Jul 2021 18:25:51 +0200 Subject: [PATCH] docs --- README.md | 4 ++-- tempsdb/varlen.pyx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 81f61c4..21777da 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ python setup.py bdist_wheel Then copy your resulting wheel and install it via pip on the target system. -Be aware that tempsdb does logging. If necessary, setting log level of -logger `tempsdb` to WARN will eliminate all warnings that tempsdb outputs. +Be aware that tempsdb does logging. +Consult the docs for how to disable it. # Changelog diff --git a/tempsdb/varlen.pyx b/tempsdb/varlen.pyx index 6bf7811..95e57a5 100644 --- a/tempsdb/varlen.pyx +++ b/tempsdb/varlen.pyx @@ -214,7 +214,8 @@ cdef class VarlenEntry: segment += 1 start_reading_at = 0 offset = 0 - + logger.error('wp=%s temp_data=%s len=%s len(chunks)=%s seg=%s', + write_pointer, repr(temp_data), length, len(self.chunks), segment) raise ValueError('invalid indices') cpdef bytes to_bytes(self): -- GitLab