visuddhinanda 11 месяцев назад
Родитель
Сommit
6d57730fc3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      api-v8/app/Http/Api/Mq.php

+ 2 - 2
api-v8/app/Http/Api/Mq.php

@@ -158,7 +158,7 @@ class Mq
                 }
 
                 if (\App\Tools\Tools::isStop()) {
-                    Log::debug('mq worker: .stop file exist. cancel the consumer.');
+                    Log::info('mq worker: .stop file exist. cancel the consumer.');
                     $message->getChannel()->basic_cancel($message->getConsumerTag());
                 }
             }
@@ -174,7 +174,7 @@ class Mq
                             $GLOBALS[$key] = 1;
                         }
                         if ($GLOBALS[$key] >= $value) {
-                            Log::debug("mq exit queue={$queue} loop=" . $GLOBALS[$key]);
+                            Log::info("mq exit queue={$queue} loop=" . $GLOBALS[$key]);
                             $message->getChannel()->basic_cancel($message->getConsumerTag());
                         }
                     }