Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
fix: use default logger in jaeger exporter (#107)
Browse files Browse the repository at this point in the history
Jaeger exporter was using a "debug" logger by default, whereas all other
exporters simply use the logger-default "silent".
  • Loading branch information
justindsmith authored and kjin committed Aug 27, 2018
1 parent f1854f1 commit 95218c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opencensus-exporter-jaeger/src/jaeger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class JaegerTraceExporter implements Exporter {

constructor(options: JaegerTraceExporterOptions) {
const pjson = require('../../package.json');
this.logger = options.logger || logger.logger('debug');
this.logger = options.logger || logger.logger();
this.bufferTimeout = options.bufferTimeout;
this.bufferSize = options.bufferSize;
this.sender = new UDPSender(options);
Expand Down

0 comments on commit 95218c8

Please sign in to comment.