Skip to content
Snippets Groups Projects
Commit 71ee627e authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Use string formatting for logging call.

parent 8f744825
No related branches found
No related tags found
No related merge requests found
...@@ -360,7 +360,7 @@ namespace AutoTx ...@@ -360,7 +360,7 @@ namespace AutoTx
/// the OnShutdown() method is used! /// the OnShutdown() method is used!
/// </summary> /// </summary>
protected override void OnStop() { protected override void OnStop() {
Log.Warn(ServiceName + " service stop requested..."); Log.Warn("{0} service stop requested...", ServiceName);
if (_transferState != TxState.Stopped) { if (_transferState != TxState.Stopped) {
_transferState = TxState.DoNothing; _transferState = TxState.DoNothing;
// Stop() is calling Process.Kill() (immediately forcing a termination of the // Stop() is calling Process.Kill() (immediately forcing a termination of the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment