1
0
mirror of https://github.com/romanlryji/EventLogLoader.git synced 2025-07-13 01:00:25 +02:00

NLog 4.4.1 support

This commit is contained in:
Alex Bochkov
2017-01-10 20:54:33 -08:00
parent 388a868a57
commit c6a9ed642a
4 changed files with 16 additions and 13 deletions

View File

@ -982,7 +982,7 @@ Public Class EventLogProcessor
End If
Catch ex As Exception
Log.ErrorException("Error occurred while working with reference file", ex)
Log.Error(ex, "Error occurred while working with reference file")
End Try
@ -1062,7 +1062,7 @@ Public Class EventLogProcessor
End If
Catch ex As Exception
Log.ErrorException("Error occurred while working with reference tables", ex)
Log.Error(ex, "Error occurred while working with reference tables")
End Try
End Sub
@ -1122,7 +1122,7 @@ Public Class EventLogProcessor
LoadEvents(File)
End If
Catch ex As Exception
Log.ErrorException("Error in FindAndStartParseFiles", ex)
Log.Error(ex, "Error in FindAndStartParseFiles")
End Try
End If
@ -1268,7 +1268,7 @@ Public Class EventLogProcessor
Conn.Dispose()
Catch ex As Exception
Log.ErrorException("Error while working with EventLog table (SQLite)", ex)
Log.Error(ex, "Error while working with EventLog table (SQLite)")
End Try
@ -1542,7 +1542,7 @@ Public Class EventLogProcessor
FindAndStartParseFiles()
Catch ex As Exception
Log.ErrorException("Error occurred during log file processing (" + InfobaseName + ")", ex)
Log.Error(ex, "Error occurred during log file processing (" + InfobaseName + ")")
End Try
Threading.Thread.Sleep(SleepTime)