mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-04 13:56:24 -06:00
chore!: Sets up google_adk for top level logger namespace. Removes --log_to_tmp option in adk web and adk api_server for the same reason.
Context: google-auth commit [1] broke adk log, because it disables the top level logger named "google", which is also adk's top level logger. We establish a separate top level logger with a different name `google_adk` to prevent this in the future.
This commit only changes google_llm.py. All other files will be changed in later commits.
[1] 77ad53eb00 (diff-e386c2b2c39b4d746c1e257f503acecbde49b1746b1a34f53b57083ed6094161)
PiperOrigin-RevId: 759872317
This commit is contained in:
committed by
Copybara-Service
parent
021aaddf32
commit
482099c925
@@ -36,7 +36,7 @@ from .llm_response import LlmResponse
|
||||
if TYPE_CHECKING:
|
||||
from .llm_request import LlmRequest
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = logging.getLogger('google_adk.' + __name__)
|
||||
|
||||
_NEW_LINE = '\n'
|
||||
_EXCLUDED_PART_FIELD = {'inline_data': {'data'}}
|
||||
|
||||
Reference in New Issue
Block a user