Logging: Log product and time at construction

This commit is contained in:
Jonathan Jenne 2021-10-08 15:44:13 +02:00
parent acb94c2be3
commit efc785e905

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