@autofleet/rabbit 3.0.1-alpha → 3.0.1-alpha2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -338,6 +338,9 @@ class RabbitMq {
338
338
  if (traceId) {
339
339
  const trace = outbreak_1.newTrace(outbreak_1.traceTypes.RABBIT);
340
340
  trace?.context?.set(consts_1.TRACING_HEADER, traceId);
341
+ logger_1.default.info(`rabbit: [consume] received message with traceId ${traceId}`, {
342
+ trace,
343
+ });
341
344
  }
342
345
  if (auditContext) {
343
346
  auditContext(queue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/rabbit",
3
- "version": "3.0.1-alpha",
3
+ "version": "3.0.1-alpha2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -478,6 +478,9 @@ class RabbitMq implements IAfRabbitMq {
478
478
  if (traceId) {
479
479
  const trace = newTrace(traceTypes.RABBIT);
480
480
  (trace as any)?.context?.set(TRACING_HEADER, traceId);
481
+ logger.info(`rabbit: [consume] received message with traceId ${traceId}`, {
482
+ trace,
483
+ });
481
484
  }
482
485
 
483
486
  if (auditContext) {