diff --git a/src/PepperDash.Essentials.Core/Config/Essentials/ConfigReader.cs b/src/PepperDash.Essentials.Core/Config/Essentials/ConfigReader.cs index e402341e..f1a79d3c 100644 --- a/src/PepperDash.Essentials.Core/Config/Essentials/ConfigReader.cs +++ b/src/PepperDash.Essentials.Core/Config/Essentials/ConfigReader.cs @@ -21,7 +21,7 @@ namespace PepperDash.Essentials.Core.Config; /// /// Local Config Present Message /// - public const string LocalConfigPresent = + public const string LocalConfigPresentBanner = @" *************************************************** ************* Using Local config file ************* diff --git a/src/PepperDash.Essentials.Core/Web/EssentialsWebApi.cs b/src/PepperDash.Essentials.Core/Web/EssentialsWebApi.cs index eaf3bab8..fe1a448c 100644 --- a/src/PepperDash.Essentials.Core/Web/EssentialsWebApi.cs +++ b/src/PepperDash.Essentials.Core/Web/EssentialsWebApi.cs @@ -305,7 +305,15 @@ public class EssentialsWebApi : EssentialsDevice : $"https://{currentIp}/cws/debug"; Debug.LogMessage(LogEventLevel.Information, this, "Debug App: {debugPath:l}", debugPath); + Debug.LogInformation(this, "Web API initialized and ready to accept requests"); + Debug.LogMessage(LogEventLevel.Information, this, new string('-', 50)); + + var debugAppUrl = CrestronEnvironment.DevicePlatform == eDevicePlatform.Server +? $"https://{hostname}/VirtualControl/Rooms/{InitialParametersClass.RoomId}/cws/debug" +: $"https://{currentIp}/cws/debug"; + + Debug.LogMessage(LogEventLevel.Information, this, "Developer Tools Web App available at: {debugAppUrl:l}", debugAppUrl); } } diff --git a/src/PepperDash.Essentials/ControlSystem.cs b/src/PepperDash.Essentials/ControlSystem.cs index a7ba6dc9..700b30d8 100644 --- a/src/PepperDash.Essentials/ControlSystem.cs +++ b/src/PepperDash.Essentials/ControlSystem.cs @@ -316,8 +316,7 @@ public class ControlSystem : CrestronControlSystem, ILoadConfig, IInitialization Debug.LogMessage(LogEventLevel.Information, "Folder structure verified. Loading config..."); if (!ConfigReader.LoadConfig() || ConfigReader.ConfigObject == null) { - Debug.LogMessage(LogEventLevel.Warning, "Unable to load config file. Please ensure a valid config file is present and restart the program."); - // return; + Debug.LogMessage(LogEventLevel.Warning, "Unable to load config file."); } CheckPluginVersionsAgainstConfig(); @@ -480,12 +479,6 @@ public class ControlSystem : CrestronControlSystem, ILoadConfig, IInitialization LoadTieLines(); - /*var mobileControl = GetMobileControlDevice(); - - if (mobileControl == null) return; - - mobileControl.LinkSystemMonitorToAppServer();*/ - } ///