Increase some logging for binkp sessions

This commit is contained in:
2023-12-18 22:44:55 +11:00
parent 13e51724c0
commit 9c8e546765
2 changed files with 7 additions and 7 deletions

View File

@@ -1337,7 +1337,7 @@ final class Binkp extends BaseProtocol
// Open our next file to send
if ($this->send->togo_count && ! $this->send->fd) {
Log::info(sprintf('%s:- Opening next file to send',self::LOGKEY));
Log::info(sprintf('%s:- Opening next file to send - we have [%d] left',self::LOGKEY,$this->send->togo_count));
$this->send->open();
}
@@ -1475,7 +1475,7 @@ final class Binkp extends BaseProtocol
{
// Add our mail to the queue if we have authenticated
if ($node->aka_authed) {
Log::debug(sprintf('%s:- We have authed these AKAs [%s]',self::LOGKEY,$node->aka_remote_authed->pluck('ftn')->join(',')));
Log::info(sprintf('%s:- We have authed these AKAs [%s]',self::LOGKEY,$node->aka_remote_authed->pluck('ftn')->join(',')));
foreach ($node->aka_remote_authed as $ao) {
Log::debug(sprintf('%s:- Checking for any new mail and files to [%s]',self::LOGKEY,$ao->ftn));
@@ -1500,7 +1500,7 @@ final class Binkp extends BaseProtocol
*/
}
Log::debug(sprintf('%s:- We have [%d] items to send to [%s]',self::LOGKEY,$this->send->togo_count,$ao->system->name));
Log::info(sprintf('%s:- We have [%d] items to send to [%s]',self::LOGKEY,$this->send->togo_count,$ao->system->name));
} else {
// @todo We should only send netmail if unauthenticated - netmail that is direct to this node (no routing)