mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-23 20:34:27 +02:00
log-forward: switch to $LogPrint
This commit is contained in:
parent
29a72e54dc
commit
f8c79abd38
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
:global HexToNum;
|
:global HexToNum;
|
||||||
:global IfThenElse;
|
:global IfThenElse;
|
||||||
:global LogForwardFilterLogForwarding;
|
:global LogForwardFilterLogForwarding;
|
||||||
:global LogPrintExit2;
|
:global LogPrint;
|
||||||
:global MAX;
|
:global MAX;
|
||||||
:global ScriptLock;
|
:global ScriptLock;
|
||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
:if ($LogForwardRateLimit > 30) do={
|
:if ($LogForwardRateLimit > 30) do={
|
||||||
:set LogForwardRateLimit ($LogForwardRateLimit - 1);
|
:set LogForwardRateLimit ($LogForwardRateLimit - 1);
|
||||||
$LogPrintExit2 info $ScriptName ("Rate limit in action, not forwarding logs, if any!") false;
|
$LogPrint info $ScriptName ("Rate limit in action, not forwarding logs, if any!");
|
||||||
:error false;
|
:error false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue