stanley-king 8 anni fa
parent
commit
7b74a86d46
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      core/framework/libraries/log.php
  2. 1 1
      helper/fcgi_server.php

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

@@ -6,7 +6,7 @@ defined('InShopNC') or exit('Access Invalid!');
 
 class Log
 {
-    const open_sql = true;
+    const open_sql = false;
     const SQL = 1;
     const INFO = 2;
     const DEBUG = 3;
@@ -17,7 +17,7 @@ class Log
 
     static $moduls = array("default","session");
 
-    const cur_level = self::INFO;
+    const cur_level = self::ERR;
 
     private static $log = array();
     private static $stsql_log = array();

+ 1 - 1
helper/fcgi_server.php

@@ -135,7 +135,7 @@ class fcgi_server
             fcgi_finish();
 
             $msg = sprintf("request time=%.6f",microtime(true) - $start);
-            Log::record($msg,Log::INFO);
+            Log::record($msg,Log::ERR);
         }
 
         fcgi_fini();