weaviate-python-client icon indicating copy to clipboard operation
weaviate-python-client copied to clipboard

Feature Request: Make embedded weaviate silent

Open hsm207 opened this issue 2 years ago • 2 comments

Running embedded weaviate for the first time will always write this output to standard out:

Binary /home/vscode/.cache/weaviate-embedded did not exist. Downloading binary from https://github.com/weaviate/weaviate/releases/download/v1.19.3/weaviate-v1.19.3-linux-amd64.tar.gz Started /home/vscode/.cache/weaviate-embedded: process ID 4442 {"action":"startup","default_vectorizer_module":"none","level":"info","msg":"the default vectorizer modules is set to "none", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2023-06-02T10:21:13Z"} {"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to "true"","time":"2023-06-02T10:21:13Z"} {"level":"warning","msg":"Multiple vector spaces are present, GraphQL Explore and REST API list objects endpoint module include params has been disabled as a result.","time":"2023-06-02T10:21:13Z"} {"action":"grpc_startup","level":"info","msg":"grpc server listening at [::]:50051","time":"2023-06-02T10:21:13Z"} {"action":"restapi_management","level":"info","msg":"Serving weaviate at http://127.0.0.1:6666","time":"2023-06-02T10:21:13Z"} {"action":"hnsw_vector_cache_prefill","count":1000,"index_id":"langchain_cb113cea4c3246fc9584cb8f01423ca2_JyjC68qeAYYp","level":"info","limit":1000000000000,"msg":"prefilled vector cache","time":"2023-06-02T10:21:18Z","took":81193}

It would be great if there is an option to suppress this output.

hsm207 avatar Jun 02 '23 17:06 hsm207

That would be nice. Currently client code has to output some separator sequence (e.g. newlines) for the user to easily distinguish its output from the server output.

dandv avatar Jun 05 '23 13:06 dandv

I have the same problem. It's quite annoying since my project is cli based. Is there a solution yet?

sixftninja avatar May 11 '24 20:05 sixftninja