Make logging less verbose

This commit is contained in:
Daniil Gentili 2020-02-12 18:51:53 +01:00
parent 23d27e4d47
commit afbc6a3e0e
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -105,7 +105,7 @@ class FeedLoop extends ResumableSignalLoop
$mid = isset($update['message']['id']) ? $update['message']['id'] : '-';
$mypts = $this->state->pts();
$computed = $mypts + $pts_count;
$this->API->logger->logger("{$msg}. My pts: {$mypts}, remote pts: {$update['pts']}, computed pts: {$computed}, msg id: {$mid}, channel id: {$this->channelId}", \danog\MadelineProto\Logger::ERROR);
$this->API->logger->logger("{$msg}. My pts: {$mypts}, remote pts: {$update['pts']}, computed pts: {$computed}, msg id: {$mid}, channel id: {$this->channelId}", \danog\MadelineProto\Logger::ULTRA_VERBOSE);
};
$result = $this->state->checkPts($update);
if ($result < 0) {