From 71ee627e532aa82cec33d4290448ea697a0534d8 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Sat, 20 Jan 2018 01:01:57 +0100 Subject: [PATCH] Use string formatting for logging call. --- AutoTx/AutoTx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index a1423d1..70db56e 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -360,7 +360,7 @@ namespace AutoTx /// the OnShutdown() method is used! /// </summary> protected override void OnStop() { - Log.Warn(ServiceName + " service stop requested..."); + Log.Warn("{0} service stop requested...", ServiceName); if (_transferState != TxState.Stopped) { _transferState = TxState.DoNothing; // Stop() is calling Process.Kill() (immediately forcing a termination of the -- GitLab