Complete of logging received and sent packet names, and display them in the web ui for each node
This commit is contained in:
@@ -103,6 +103,13 @@ class MessageProcess implements ShouldQueue
|
||||
$o->flags |= Message::FLAG_RECD;
|
||||
$o->save();
|
||||
|
||||
Log::info(sprintf('%s:! Netmail [%s] from (%s:%s) - was processed by us [%d]',
|
||||
self::LOGKEY,
|
||||
$this->msg->msgid,
|
||||
$this->msg->user_from,
|
||||
$this->msg->fftn,
|
||||
$o->id,
|
||||
));
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -112,7 +119,7 @@ class MessageProcess implements ShouldQueue
|
||||
$o->flags |= Message::FLAG_RECD;
|
||||
$o->save();
|
||||
|
||||
Log::alert(sprintf('%s:! Ignoring Netmail [%s] to the Hub from (%s:%s) - its from a bot [%d].',
|
||||
Log::alert(sprintf('%s:! Ignoring Netmail [%s] to the Hub from (%s:%s) - its from a bot [%d]',
|
||||
self::LOGKEY,
|
||||
$this->msg->msgid,
|
||||
$this->msg->user_from,
|
||||
@@ -289,6 +296,7 @@ class MessageProcess implements ShouldQueue
|
||||
$o->set_path = $this->msg->pathaddress;
|
||||
$o->set_seenby = $this->msg->seenaddress;
|
||||
// Record receiving packet and sender
|
||||
$o->set_pkt = $this->packet;
|
||||
|
||||
$o->save();
|
||||
|
||||
|
Reference in New Issue
Block a user