jj: Logging version 0.0.5: dont delete log files automatically
This commit is contained in:
parent
4b84a4612a
commit
73474ade37
@ -4,7 +4,7 @@ Imports NLog.Config
|
|||||||
Imports NLog.Targets
|
Imports NLog.Targets
|
||||||
|
|
||||||
''' <module>LogConfig</module>
|
''' <module>LogConfig</module>
|
||||||
''' <version>0.0.0.4</version>
|
''' <version>0.0.0.5</version>
|
||||||
''' <date>02.10.2018</date>
|
''' <date>02.10.2018</date>
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Module that writes file-logs to different locations:
|
''' Module that writes file-logs to different locations:
|
||||||
@ -86,8 +86,8 @@ Public Class LogConfig
|
|||||||
' 0 = keep ALL archives files
|
' 0 = keep ALL archives files
|
||||||
' 1 = only keep latest logfile and NO archive files
|
' 1 = only keep latest logfile and NO archive files
|
||||||
' n = keep n archive files
|
' n = keep n archive files
|
||||||
Private Const MAX_ARCHIVE_FILES_DEFAULT As Integer = 30
|
Private Const MAX_ARCHIVE_FILES_DEFAULT As Integer = 0
|
||||||
Private Const MAX_ARCHIVE_FILES_DEBUG_DETAIL As Integer = 1
|
Private Const MAX_ARCHIVE_FILES_DEBUG_DETAIL As Integer = 0
|
||||||
Private Const ARCHIVE_EVERY As FileArchivePeriod = FileArchivePeriod.Day
|
Private Const ARCHIVE_EVERY As FileArchivePeriod = FileArchivePeriod.Day
|
||||||
|
|
||||||
Private Const FILE_NAME_FORMAT_DEFAULT As String = "${shortdate}-${var:product}${var:suffix}.log"
|
Private Const FILE_NAME_FORMAT_DEFAULT As String = "${shortdate}-${var:product}${var:suffix}.log"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user