Suppress verbose gRPC C-core logging in nvidia services
Set GRPC_VERBOSITY=ERROR by default so users do not see noisy fork handler and abseil warnings from the gRPC C library. Users can still override by setting GRPC_VERBOSITY themselves.
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2024-2026, Daily
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
# Suppress verbose gRPC C-core logging (fork handlers, abseil warnings) unless
|
||||||
|
# the user has explicitly configured it.
|
||||||
|
if "GRPC_VERBOSITY" not in os.environ:
|
||||||
|
os.environ["GRPC_VERBOSITY"] = "ERROR"
|
||||||
|
|||||||
Reference in New Issue
Block a user