Skip to content

Commit 8d7240f

Browse files
authored
Merge pull request #1196 from weaviate/grcp/set-verbosity-to-error-to-reduce-log-noise
add `GRPC_VERBOSITY="ERROR"` env var in `__init__.py`
2 parents 35f3765 + 9e71ba1 commit 8d7240f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

weaviate/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Weaviate Python Client Library used to interact with a Weaviate instance.
33
"""
4-
4+
import os
55
import sys
66
from importlib.metadata import version, PackageNotFoundError
77
from typing import Any
@@ -49,6 +49,8 @@
4949

5050
from .warnings import _Warnings
5151

52+
os.environ["GRPC_VERBOSITY"] = "ERROR" # https://github.com/danielmiessler/fabric/discussions/754
53+
5254
__all__ = [
5355
"BatchClient",
5456
"ClientBatchingContextManager",

0 commit comments

Comments
 (0)