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:
Mark Backman
2026-03-25 09:54:28 -04:00
parent 165932e1cc
commit de6a7223ba

View File

@@ -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"