Skip to content

Commit 7c4a305

Browse files
committed
fix(logging): add extra logs
1 parent d31883b commit 7c4a305

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/agent/api/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ CollectorApi.prototype._send = function (destinationUrl, data) {
7676
}))
7777
})
7878

79-
debug('sending data to trace servers: ', payload)
79+
debug('sending data to trace servers: ', destinationUrl, payload)
8080
req.write(payload)
8181
req.end()
8282
}
@@ -219,6 +219,8 @@ CollectorApi.prototype.getService = function (cb) {
219219
}))
220220
})
221221

222+
debug('getting serviceKey with payload:', payload)
223+
222224
req.write(payload)
223225
req.end()
224226
}

0 commit comments

Comments
 (0)