Skip to content

Commit 3caf687

Browse files
authored
Set logging level before calling test_tool_with_logging (#38)
1 parent 6239c16 commit 3caf687

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scenarios/server/tools.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,9 @@ Implement tool \`test_tool_with_logging\` with no arguments.
388388
const connection = await connectToServer(serverUrl);
389389
const notifications = new NotificationCollector(connection.client);
390390

391+
// Set logging level to debug
392+
await connection.client.setLoggingLevel('debug');
393+
391394
await connection.client.callTool({
392395
name: 'test_tool_with_logging',
393396
arguments: {}

0 commit comments

Comments
 (0)