From 1695b5832934bed84339e1b9f040d112d7c74c11 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Fri, 20 Dec 2024 17:27:50 -0500 Subject: [PATCH] #584 removed test code --- scada-common/log.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/scada-common/log.lua b/scada-common/log.lua index b6cd373..070a666 100644 --- a/scada-common/log.lua +++ b/scada-common/log.lua @@ -61,7 +61,6 @@ local function _log(msg_bits) -- if we don't have space, we need to create a new log file if check_out_of_space() then - assert(false) -- delete the old log file before opening a new one logger.file.close() fs.delete(logger.path) @@ -73,7 +72,6 @@ local function _log(msg_bits) logger.file.writeLine(time_stamp .. WRN_TAG .. "recycled log file") logger.file.writeLine(stamped) logger.file.flush() - assert(false) elseif (not status) and (result ~= nil) then util.println("unexpected error writing to the log file: " .. result) end