From: Jérôme Benoit Date: Mon, 24 Jul 2023 18:48:45 +0000 (+0200) Subject: refactor: refine log level X-Git-Tag: v1.2.20~155 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=109c677a5888e53d954a4f276b975b6c088ba0dd;p=e-mobility-charging-stations-simulator.git refactor: refine log level Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStationUtils.ts b/src/charging-station/ChargingStationUtils.ts index b33a5108..81096ef1 100644 --- a/src/charging-station/ChargingStationUtils.ts +++ b/src/charging-station/ChargingStationUtils.ts @@ -689,7 +689,7 @@ const getLimitFromChargingProfiles = ( // Set helpers const chargingSchedule = chargingProfile.chargingSchedule; if (!chargingSchedule?.startSchedule) { - logger.warn( + logger.debug( `${logPrefix} ${moduleName}.getLimitFromChargingProfiles: startSchedule is not defined in charging profile id ${chargingProfile.chargingProfileId}. Trying to set it to the connector transaction start date`, ); // OCPP specifies that if startSchedule is not defined, it should be relative to start of the connector transaction