From 488fcc398f8832b2c05ed5ce0bdd772af53dd136 Mon Sep 17 00:00:00 2001 From: Arno Erpenbeck <88486704+arnoerpenbeck@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:00:24 +0200 Subject: [PATCH] chore: reduce logging --- src/fft-api/facility/fftFacilityService.ts | 4 ++-- src/fft-api/order/fftOrderService.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fft-api/facility/fftFacilityService.ts b/src/fft-api/facility/fftFacilityService.ts index 693ca45..dd9f111 100644 --- a/src/fft-api/facility/fftFacilityService.ts +++ b/src/fft-api/facility/fftFacilityService.ts @@ -90,7 +90,7 @@ export class FftFacilityService { `${this.PATH}/${facilityId}/carriers/${carrierRef}`, { ...data } ); - this.logger.info( + this.logger.debug( `Successfully connected FFT Facility '${facilityId}' with Carrier '${facilityCarrierConnection.key}' '${carrierRef}'` ); } catch (err) { @@ -132,7 +132,7 @@ export class FftFacilityService { await this.apiClient.delete(`${this.PATH}/${facilityId}`); FftFacilityService.facilityCache.delete(tenantFacilityId); } else { - this.logger.info( + this.logger.debug( `Not deleting FFT Facility '${facilityId}' for CT Channel '${tenantFacilityId}' because functionality is disabled` ); } diff --git a/src/fft-api/order/fftOrderService.ts b/src/fft-api/order/fftOrderService.ts index aa84406..146216f 100644 --- a/src/fft-api/order/fftOrderService.ts +++ b/src/fft-api/order/fftOrderService.ts @@ -19,7 +19,7 @@ export class FftOrderService { public async create(orderForCreation: OrderForCreation): Promise { try { const order = await this.apiClient.post(`${this.path}`, { ...orderForCreation }); - this.logger.info( + this.logger.debug( `Successfully created order with tenantOrderId '${orderForCreation.tenantOrderId}' and order id '${order.id}'` );