hi there
if you set info topics to be logged remotely and try to execute the following simple mikrotik script ( several RouteOS 5.x tested), at least at the first execution, you will receive on the remote syslog server just 1 line , eg remote log test 1. the other lines generated will not be send and thus they are lost. Starting from the first execution, randomically you will receive sometimes alle the 3
lines and other times just the first one.
not CORRECT:randomically, only the first line will be sent to the remote syslog
:foreach i in={1;2;3} do={
:log info ("remote log test ".$i);
};
Whenever you put a delay between each iteration , let's say about 500ms , you will recevie in all the tests all the 3 lines of generated log.
\
CORRECT:all the 3 lines will be sent to the remote syslog
:foreach i in={1;2;3} do={
:log info ("remote log test ".$i);
:delay 500ms;
};
It smells to me as a "last message repeated X times" compression feature is acitvated locally on the RouterOS.
Any suggestion to address the issue or confirm that the "last message repeated " option is enabled, is more than welcome.
bye
greencomputing