changeset 1684:cfbecf7af56f

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 05 Jun 2022 18:03:32 -0600
parents ea56e3b04c03
children 46cf5137cb6b
files src/luan/host/init.luan
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
diff -r ea56e3b04c03 -r cfbecf7af56f src/luan/host/init.luan
--- a/src/luan/host/init.luan	Sun Jun 05 12:44:38 2022 -0600
+++ b/src/luan/host/init.luan	Sun Jun 05 18:03:32 2022 -0600
@@ -30,10 +30,6 @@
 	local log_dir = dir.."/site/private/local/logs/"
 
 	local function new_appender(file,level)
-		-- tmp
-		local Io = require "luan:Io.luan"
-		Io.uri("file:"..log_dir..file..".log.1").delete()
-
 		local files = { log_dir..file..".log", log_dir..file.."_1.log" }
 		local appender = RollingFileAppender.new(layout, files)
 		appender.maxFileSize = one_mb