refactor: change log level to debug at ATG stop
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 7 Nov 2023 17:36:24 +0000 (18:36 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 7 Nov 2023 17:36:24 +0000 (18:36 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/AutomaticTransactionGenerator.ts

index d893dc918fc9b18daeb90c2dbd14032335ff2269..e15ce4accd220b98c3658f05d724f79dc5404dc1 100644 (file)
@@ -460,7 +460,7 @@ export class AutomaticTransactionGenerator extends AsyncResource {
       }
     } else {
       const transactionId = this.chargingStation.getConnectorStatus(connectorId)?.transactionId;
-      logger.warn(
+      logger.debug(
         `${this.logPrefix(connectorId)} stopping a not started transaction${
           !isNullOrUndefined(transactionId) ? ` with id ${transactionId}` : ''
         }`,