refactor(ocpp-server): refine log message
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 16 Jun 2024 20:25:19 +0000 (22:25 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 16 Jun 2024 20:25:19 +0000 (22:25 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/ocpp-server/server.py

index 780b90010f1c551c50fb3d9660fdcd9e6e6491d8..9d31f9943e5d2d5a7139cb08d04565b3814e924b 100644 (file)
@@ -133,7 +133,7 @@ async def on_connect(websocket, path):
     except ConnectionClosed:
         logging.info("ChargePoint %s closed connection", cp.id)
         ChargePoints.remove(cp)
-        logging.debug("Connected charge points: %d", len(ChargePoints))
+        logging.debug("Connected ChargePoint(s): %d", len(ChargePoints))
 
 
 # Main function to start the WebSocket server.