local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Logging = require "luan:logging/Logging.luan" local logger = Logging.logger "log.txt" return function() logger.info "now" local s = Io.uri("site:/private/local/logs/info.log").read_text() Http.response.text_writer().write(s) end