Skip to content

Commit 40f3424

Browse files
authored
Remove logging of clientName and commandName from Command (#249)
1 parent 23d5953 commit 40f3424

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/CommandGenerator.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ private void generateCommandMiddlewareResolver(String configType) {
171171
() -> writer.writeInline("(output: any) => output"));
172172
});
173173
});
174-
writer.openBlock("\nif (typeof logger.info === 'function') {", "}\n", () -> {
175-
writer.openBlock("logger.info({", "});", () -> {
176-
writer.write("clientName,");
177-
writer.write("commandName,");
178-
});
179-
});
180174
writer.write("const { requestHandler } = configuration;");
181175
writer.openBlock("return stack.resolve(", ");", () -> {
182176
writer.write("(request: FinalizeHandlerArguments<any>) => ");

0 commit comments

Comments
 (0)