Skip to content

Commit b0fc786

Browse files
ramonsmitsmauroservienti
authored andcommitted
Using structured logging
1 parent 8ea0e28 commit b0fc786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Hosting/WindowsServiceWithRequestTimeout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected override void OnStop()
3030
var logger = NLog.LogManager.GetCurrentClassLogger();
3131
var additionalTime = hostOptions.ShutdownTimeout + CancellationDuration;
3232

33-
logger.Info($"OnStop invoked, going to ask for additional time: {additionalTime}");
33+
logger.Info("OnStop invoked, going to ask for additional time: {additionalTime}", additionalTime);
3434
RequestAdditionalTime(additionalTime);
3535
logger.Info("Additional time requested");
3636

0 commit comments

Comments
 (0)