From 73474ade37564e8161fa7a4d6c9e18ddc4db122c Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Mon, 29 Oct 2018 11:54:27 +0100 Subject: [PATCH] jj: Logging version 0.0.5: dont delete log files automatically --- Modules.Logging/LogConfig.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules.Logging/LogConfig.vb b/Modules.Logging/LogConfig.vb index b3591fc0..3accf6cb 100644 --- a/Modules.Logging/LogConfig.vb +++ b/Modules.Logging/LogConfig.vb @@ -4,7 +4,7 @@ Imports NLog.Config Imports NLog.Targets ''' LogConfig -''' 0.0.0.4 +''' 0.0.0.5 ''' 02.10.2018 ''' ''' Module that writes file-logs to different locations: @@ -86,8 +86,8 @@ Public Class LogConfig ' 0 = keep ALL archives files ' 1 = only keep latest logfile and NO archive files ' n = keep n archive files - Private Const MAX_ARCHIVE_FILES_DEFAULT As Integer = 30 - Private Const MAX_ARCHIVE_FILES_DEBUG_DETAIL As Integer = 1 + Private Const MAX_ARCHIVE_FILES_DEFAULT As Integer = 0 + Private Const MAX_ARCHIVE_FILES_DEBUG_DETAIL As Integer = 0 Private Const ARCHIVE_EVERY As FileArchivePeriod = FileArchivePeriod.Day Private Const FILE_NAME_FORMAT_DEFAULT As String = "${shortdate}-${var:product}${var:suffix}.log"