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 End If
Catch ex As Exception Catch ex As Exception
_Logger.Warn($"Could not initialize the AppServer: {ex.Message}") _Logger.Warn($"Could not initialize the AppServer: {ex.Message}")
_Logger.Error(ex)
End Try End Try
End If End If
Catch ex As Exception Catch ex As Exception
_Logger.Error(ex)
End Try End Try
End Sub End Sub

View File

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

View File

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