소스 검색

change log

stanley-king 9 년 전
부모
커밋
fcbcf7f2ae
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      core/framework/libraries/log.php
  2. 1 1
      request_helper.php

+ 1 - 1
core/framework/libraries/log.php

@@ -9,7 +9,7 @@ class Log
     const open_sql = true;
     const SQL = 1;
 
-    const cur_level = 1;
+    const cur_level = 2;
     const INFO = 2;
     const DEBUG = 3;
     const WARING = 4;

+ 1 - 1
request_helper.php

@@ -208,7 +208,7 @@ class request_helper
                 unset($_SERVER[$field]);
                 $param = fcgi_getparam($field);
                 $_SERVER[$field] = $param;
-                Log::record("{$field} : {$_SERVER[$field]}", Log::DEBUG);
+                Log::record("{$field} : {$_SERVER[$field]}", Log::INFO);
             } catch(Exception $e){
                 Log::record($e->getTraceAsString(),Log::ERR);
             }