Browse Source

fix disk full

nagadomi 10 years ago
parent
commit
a7a5f5b1b2
1 changed files with 8 additions and 1 deletions
  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},