mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
(ci/cd) print debug info for test_proxy_gunicorn_startup_config_dict
This commit is contained in:
parent
77273205d6
commit
fe18c84274
1 changed files with 10 additions and 0 deletions
|
@ -33,6 +33,11 @@ def test_proxy_gunicorn_startup_direct_config():
|
||||||
Test both approaches
|
Test both approaches
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
from litellm._logging import verbose_proxy_logger, verbose_router_logger
|
||||||
|
import logging
|
||||||
|
|
||||||
|
verbose_proxy_logger.setLevel(level=logging.DEBUG)
|
||||||
|
verbose_router_logger.setLevel(level=logging.DEBUG)
|
||||||
filepath = os.path.dirname(os.path.abspath(__file__))
|
filepath = os.path.dirname(os.path.abspath(__file__))
|
||||||
# test with worker_config = config yaml
|
# test with worker_config = config yaml
|
||||||
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
||||||
|
@ -48,6 +53,11 @@ def test_proxy_gunicorn_startup_direct_config():
|
||||||
|
|
||||||
def test_proxy_gunicorn_startup_config_dict():
|
def test_proxy_gunicorn_startup_config_dict():
|
||||||
try:
|
try:
|
||||||
|
from litellm._logging import verbose_proxy_logger, verbose_router_logger
|
||||||
|
import logging
|
||||||
|
|
||||||
|
verbose_proxy_logger.setLevel(level=logging.DEBUG)
|
||||||
|
verbose_router_logger.setLevel(level=logging.DEBUG)
|
||||||
filepath = os.path.dirname(os.path.abspath(__file__))
|
filepath = os.path.dirname(os.path.abspath(__file__))
|
||||||
# test with worker_config = config yaml
|
# test with worker_config = config yaml
|
||||||
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue