8000 chore: logger = logging.getLogger(__name__) --> logger = logging.getL… · liunix61/adk-python@729001f · GitHub
[go: up one dir, main page]

Skip to content

Commit 729001f

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
PiperOrigin-RevId: 760019467
1 parent 0d7d791 commit 729001f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/google/adk/cli/agent_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from ..tools.base_tool import BaseTool
2626
from ..tools.function_tool import FunctionTool
2727

28-
logger = logging.getLogger(__name__)
28+
logger = logging.getLogger('google_adk.' + __name__)
2929

3030
try:
3131
from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool

src/google/adk/cli/cli_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from ..sessions.session import Session
3636
from .utils import common
3737

38-
logger = logging.getLogger(__name__)
38+
logger = logging.getLogger("google_adk." + __name__)
3939

4040

4141
class EvalMetric(common.BaseModel):

src/google/adk/cli/cli_tools_click.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def parse_args(self, ctx, args):
7777
ctx.exit(2)
7878

7979

80-
logger = logging.getLogger(__name__)
80+
logger = logging.getLogger("google_adk." + __name__)
8181

8282

8383
@click.group(context_settings={"max_content_width": 240})

src/google/adk/cli/fast_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
from .utils import envs
8686
from .utils import evals
8787

88-
logger = logging.getLogger(__name__)
88+
logger = logging.getLogger("google_adk." + __name__)
8989

9090
_EVAL_SET_FILE_EXTENSION = ".evalset.json"
9191
_EVAL_SET_RESULT_FILE_EXTENSION = ".evalset_result.json"

src/google/adk/code_executors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .code_executor_context import CodeExecutorContext
2020
from .unsafe_local_code_executor import UnsafeLocalCodeExecutor
2121

22-
logger = logging.getLogger(__name__)
22+
logger = logging.getLogger('google_adk.' + __name__)
2323

2424
__all__ = [
2525
'BaseCodeExecutor',

tests/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
from .utils import TestRunner
2828

29-
logger = logging.getLogger(__name__)
29+
logger = logging.getLogger('google_adk.' + __name__)
3030

3131

3232
def load_env_for_tests():

0 commit comments

Comments
 (0)
0