Browse Source

fix disk full

nagadomi 10 năm trước cách đây
mục cha
commit
a7a5f5b1b2
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  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},