瀏覽代碼

fix disk full

nagadomi 10 年之前
父節點
當前提交
a7a5f5b1b2
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      web.lua

+ 8 - 1
web.lua

@@ -195,7 +195,14 @@ function FormHandler:get()
       self:write(index_en)
    end
 end
-
+turbo.log.categories = {
+   ["success"] = true,
+   ["notice"] = false,
+   ["warning"] = true,
+   ["error"] = true,
+   ["debug"] = false,
+   ["development"] = false
+}
 local app = turbo.web.Application:new(
    {
       {"^/$", FormHandler},