Update loggingsys.lua