How to Clear Channel Server Log?

I'm using a counter creatures by server log, and when renovating task to clean out the server log so that it automatically
resets the counter.

If someone can help

Name: Kill Counter HUD by Ropiderz
Version: v1.0.0
Status: Works; TODO: ;]]--;;;
local SCREEN_X, SCREEN_Y = 15, 500
local CONSIDER_MONSTERS = {"Demon"}

--[[ ENGINE ]]--
setfontcolor("White")
local SCRIPT_INFO = "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
local SERVER_LOG_MSG = getmessages("Server Log")
local SERVER_LOG_MSG_COUNT, KILLED_CREATURES = SERVER_LOG_MSG.count - 1, 0
for INDEX = 0, SERVER_LOG_MSG_COUNT do
if (SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].type == 19) then
for _, MONSTER in ipairs(CONSIDER_MONSTERS) do
if (SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].text:find(MONSTER:lower())) then
KILLED_CREATURES = KILLED_CREATURES + 1
end
end
end
end
addtext('Killed Demons : ' .. KILLED_CREATURES .. '', SCREEN_X, SCREEN_Y)