3 Commits

Author SHA1 Message Date
Jonathan Jenne
7955e9d13e GUIs.ClipboardWatcher: Add error logging 2021-10-08 15:44:49 +02:00
Jonathan Jenne
05dabce908 Logging: Version 2.4.4 2021-10-08 15:44:24 +02:00
Jonathan Jenne
efc785e905 Logging: Log product and time at construction 2021-10-08 15:44:13 +02:00
3 changed files with 14 additions and 10 deletions

View File

@@ -43,10 +43,11 @@ Public Class ProfileSearches
End If
Catch ex As Exception
_Logger.Warn($"Could not initialize the AppServer: {ex.Message}")
_Logger.Error(ex)
End Try
End If
Catch ex As Exception
_Logger.Error(ex)
End Try
End Sub
@@ -94,13 +95,13 @@ Public Class ProfileSearches
End If
oDocSearches.Add(New Search() With {
.Guid = oGuid,
.DataTable = oDatatable,
.ProfileId = oProfileId,
.TabCaption = oTabTitle,
.TabIndex = oCounter,
.SQLCommand = oSQL
})
.Guid = oGuid,
.DataTable = oDatatable,
.ProfileId = oProfileId,
.TabCaption = oTabTitle,
.TabIndex = oCounter,
.SQLCommand = oSQL
})
oCounter += 1
Next

View File

@@ -250,6 +250,9 @@ Public Class LogConfig
LogDirectory = _basePath
LogFile = GetCurrentLogFilePath()
Dim oLogger = GetLogger()
oLogger.Info("Logging started for [{0}{1}] in [{2}]", oProductName, logFileSuffix, LogFile)
' Clear old Logfiles as defined in `FileKeepInterval`
ClearOldLogfiles(FileKeepRangeInDays)
End Sub

View File

@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.4.3.0")>
<Assembly: AssemblyFileVersion("2.4.3.0")>
<Assembly: AssemblyVersion("2.4.4.0")>
<Assembly: AssemblyFileVersion("2.4.4.0")>