From 7b249fb9cb24eb0a0cff1add083554636ef38c67 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 25 Nov 2022 13:01:12 +0100 Subject: [PATCH] Jobs: Update to Nlog 5 - Version 1.11.0.0 --- Jobs/App.config | 8 ++++---- Jobs/Jobs.vbproj | 4 ++-- Jobs/My Project/AssemblyInfo.vb | 6 +++--- Jobs/ZUGFeRD/ImportZUGFeRDFiles.vb | 3 --- Jobs/packages.config | 2 +- 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/Jobs/App.config b/Jobs/App.config index db14e04e..94e38df9 100644 --- a/Jobs/App.config +++ b/Jobs/App.config @@ -1,13 +1,13 @@ - + - + - - + + diff --git a/Jobs/Jobs.vbproj b/Jobs/Jobs.vbproj index b29aa40d..eb622bad 100644 --- a/Jobs/Jobs.vbproj +++ b/Jobs/Jobs.vbproj @@ -127,8 +127,8 @@ ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll - - ..\packages\NLog.4.7.15\lib\net45\NLog.dll + + ..\packages\NLog.5.0.5\lib\net46\NLog.dll diff --git a/Jobs/My Project/AssemblyInfo.vb b/Jobs/My Project/AssemblyInfo.vb index d26d6176..9dac9b52 100644 --- a/Jobs/My Project/AssemblyInfo.vb +++ b/Jobs/My Project/AssemblyInfo.vb @@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices - + @@ -30,5 +30,5 @@ Imports System.Runtime.InteropServices ' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern ' übernehmen, indem Sie "*" eingeben: - - + + diff --git a/Jobs/ZUGFeRD/ImportZUGFeRDFiles.vb b/Jobs/ZUGFeRD/ImportZUGFeRDFiles.vb index 54ede22e..226ada45 100644 --- a/Jobs/ZUGFeRD/ImportZUGFeRDFiles.vb +++ b/Jobs/ZUGFeRD/ImportZUGFeRDFiles.vb @@ -198,7 +198,6 @@ Public Class ImportZUGFeRDFiles Dim oMissingProperties As New List(Of String) Dim oMD5CheckSum As String = String.Empty - _logger.NewBlock($"Message Id {oMessageId}") _logger.Info("Start processing file group {0}", oMessageId) Try @@ -540,8 +539,6 @@ Public Class ImportZUGFeRDFiles _logger.Warn("Could not move files!") _logger.Error(ex) Throw ex - Finally - _logger.EndBlock() End Try Try diff --git a/Jobs/packages.config b/Jobs/packages.config index 67708dc3..91d16086 100644 --- a/Jobs/packages.config +++ b/Jobs/packages.config @@ -2,5 +2,5 @@ - + \ No newline at end of file