forked from phoenix/litellm-mirror
Use DEBUG level for curl command logging
Currently, the INFO level is used, which can cause excessive logging in production.
This commit is contained in:
parent
775d28a509
commit
e2213a1a5e
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ class Logging:
|
||||||
if verbose_logger.level == 0:
|
if verbose_logger.level == 0:
|
||||||
# this means verbose logger was not switched on - user is in litellm.set_verbose=True
|
# this means verbose logger was not switched on - user is in litellm.set_verbose=True
|
||||||
print_verbose(f"\033[92m{curl_command}\033[0m\n")
|
print_verbose(f"\033[92m{curl_command}\033[0m\n")
|
||||||
verbose_logger.info(f"\033[92m{curl_command}\033[0m\n")
|
verbose_logger.debug(f"\033[92m{curl_command}\033[0m\n")
|
||||||
if self.logger_fn and callable(self.logger_fn):
|
if self.logger_fn and callable(self.logger_fn):
|
||||||
try:
|
try:
|
||||||
self.logger_fn(
|
self.logger_fn(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue