From: Jérôme Benoit Date: Fri, 4 Feb 2022 09:36:40 +0000 (+0100) Subject: Enhance log message on supervision url distribution X-Git-Tag: v1.1.45~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=323e7c9ca1769c7caa98efe25983930e26d4a6a8;p=e-mobility-charging-stations-simulator.git Enhance log message on supervision url distribution Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 4f6c7771..565bdb89 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -972,7 +972,7 @@ export default class ChargingStation { } break; default: - logger.error(`${this.logPrefix()} Unknown supervision url distribution '${Configuration.getSupervisionUrlDistribution()}', defaulting to ${SupervisionUrlDistribution.ROUND_ROBIN}`); + logger.error(`${this.logPrefix()} Unknown supervision url distribution '${Configuration.getSupervisionUrlDistribution()}' from values '${SupervisionUrlDistribution.toString()}', defaulting to ${SupervisionUrlDistribution.ROUND_ROBIN}`); urlIndex = (this.index - 1) % supervisionUrls.length; break; }