Skip to content

Commit

Permalink
chore: reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoerpenbeck committed Jul 11, 2024
1 parent 792f1ea commit 488fcc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fft-api/facility/fftFacilityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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`
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/fft-api/order/fftOrderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class FftOrderService {
public async create(orderForCreation: OrderForCreation): Promise<Order> {
try {
const order = await this.apiClient.post<Order>(`${this.path}`, { ...orderForCreation });
this.logger.info(
this.logger.debug(
`Successfully created order with tenantOrderId '${orderForCreation.tenantOrderId}' and order id '${order.id}'`
);

Expand Down

0 comments on commit 488fcc3

Please sign in to comment.