Skip to content

Commit 66102db

Browse files
committed
remove log
1 parent 49ac3d8 commit 66102db

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tools/mongodb/update/updateSearchIndex.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
22
import { DbOperationArgs, MongoDBToolBase, SearchIndexArgs } from "../mongodbTool.js";
33
import { OperationType, ToolArgs } from "../../tool.js";
4-
import logger, { LogId } from "../../../logger.js";
54

65
export class UpdateSearchIndexTool extends MongoDBToolBase {
76
protected name = "update-search-index";
@@ -23,11 +22,6 @@ export class UpdateSearchIndexTool extends MongoDBToolBase {
2322
mappings,
2423
}: ToolArgs<typeof this.argsShape>): Promise<CallToolResult> {
2524
const provider = await this.ensureConnected();
26-
logger.info(
27-
LogId.toolExecute,
28-
"server",
29-
`Server started with transport ${JSON.stringify({ definition: { analyzer, mappings } })}`
30-
);
3125
// @ts-expect-error: Interface expects a SearchIndexDefinition. However,
3226
// passing analyzer/mappings at the root for the definition is necessary for the call to succeed.
3327
await provider.updateSearchIndex(database, collection, name, {

0 commit comments

Comments
 (0)