You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The log levels set in log_config.yaml don't seem to apply to the cx_logger - info is still the default log level regardless of which level is set in log_config.yaml.
The text was updated successfully, but these errors were encountered:
Description
Add a field in the
cortex.yaml
API spec that allows the user to set the log level for their API deployments:The default log level set would be
INFO
.Consider adding a guide to showcase using
cx_logger()
in predictor implementations.Motivation
To prevent spamming the log lines with unnecessary information. As pointed out by @vackosar.
Issues to sort out
log_config.yaml
, and for that, we'd have to have something like:logs with FastAPI and Uvicorn tiangolo/fastapi#1508 (comment)
log_config.yaml
don't seem to apply to thecx_logger
-info
is still the default log level regardless of which level is set inlog_config.yaml
.The text was updated successfully, but these errors were encountered: