Logging: Log product and time at construction
This commit is contained in:
parent
acb94c2be3
commit
efc785e905
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user