Update logging.lua