We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5684214 commit faca2d7Copy full SHA for faca2d7
packages/cli-repl/src/logger.ts
@@ -158,20 +158,5 @@ export default function logger(bus: any, logDir: string): void {
158
159
bus.on('mongosh:api-call', function(args: ApiEvent) {
160
log.info('mongosh:api-call', redactInfo(args));
161
-
162
- // analytics properties to include if they are present in an api-call
163
- const properties: ApiEvent = {};
164
- properties.arguments = {};
165
- if (args.method) properties.method = args.method;
166
- if (args.class) properties.class = args.class;
167
- if (args.arguments) properties.arguments = properties.arguments;
168
169
- if (telemetry) {
170
- analytics.track({
171
- userId,
172
- event: 'Api Call',
173
- properties: redactInfo(properties)
174
- });
175
- }
176
});
177
}
0 commit comments