gwang 5 rokov pred
rodič
commit
915d10a940
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Gameserver/Amfphp/index.php

+ 1 - 1
Gameserver/Amfphp/index.php

@@ -108,7 +108,7 @@ class Index {
         $retLen = strlen($ret);                                                 # 计算下返回值长度.
 
         if ($retLen > (1024 * self::$bigRespInKbs)) {                           # 长度大于50k时记录超大返回值日志.
-            CLog::warn("Big Response:\n"                                        # 带有\n转义符的时候, 必须用双引号 
+            CLog::warn("Big Response(" . req()->cmd . "):\n"                    # 带有\n转义符的时候, 必须用双引号 
                     . "\t" . substr(JsonUtil::encode($resp), 0, 30)             # 返回串(截断为30bytes)
                     . "..., about " . CommUtil::floatToInt($retLen / 1024) . "kbs.", "Index"); # 返回串长度
         }