From 60b6dbd318744071a31e520251ab75dbb6805352 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Thu, 22 Jun 2023 07:55:43 -0700 Subject: [PATCH] Log on agent when wake command is received. --- Agent/Services/AgentHubConnection.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Agent/Services/AgentHubConnection.cs b/Agent/Services/AgentHubConnection.cs index 7210cc2a8..2c196d205 100644 --- a/Agent/Services/AgentHubConnection.cs +++ b/Agent/Services/AgentHubConnection.cs @@ -495,6 +495,9 @@ private void RegisterMessageHandlers() _hubConnection.On("WakeDevice", async (string macAddress) => { + _logger.LogInformation( + "Received request to wake device with MAC address {macAddress}.", + macAddress); await _wakeOnLanService.WakeDevice(macAddress); }); }