diff --git a/src/Tgstation.Server.Host/Components/Watchdog/Executor.cs b/src/Tgstation.Server.Host/Components/Watchdog/Executor.cs
index 5ff46f692c..85ec573591 100644
--- a/src/Tgstation.Server.Host/Components/Watchdog/Executor.cs
+++ b/src/Tgstation.Server.Host/Components/Watchdog/Executor.cs
@@ -1,4 +1,5 @@
-using System;
+using Microsoft.Extensions.Logging;
+using System;
using System.Diagnostics;
using System.Globalization;
using Tgstation.Server.Api.Models;
@@ -10,6 +11,11 @@ namespace Tgstation.Server.Host.Components.Watchdog
///
sealed class Executor : IExecutor
{
+ ///
+ /// The for the
+ ///
+ readonly ILogger logger;
+
///
/// Change a given into the appropriate DreamDaemon command line word
///
@@ -30,6 +36,15 @@ namespace Tgstation.Server.Host.Components.Watchdog
}
}
+ ///
+ /// Construct an
+ ///
+ /// The value of
+ public Executor(ILogger logger)
+ {
+ this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
+ }
+
///
public ISession AttachToDreamDaemon(int processId, IByondExecutableLock byondLock) => new Session(Process.GetProcessById(processId), byondLock);
@@ -57,6 +72,8 @@ namespace Tgstation.Server.Host.Components.Watchdog
launchParameters.AllowWebClient.Value ? "-webclient " : String.Empty,
SecurityWord(launchParameters.SecurityLevel.Value),
parameters);
+
+ logger.LogTrace("Running DreamDaemon in {0}: {1} {2}", proc.StartInfo.WorkingDirectory, proc.StartInfo.FileName, proc.StartInfo.Arguments);
proc.Start();