when ovpn user disconect, i try to catch string from log, and it’s work fine… but after mindight, e.g at 00:10:15 this code return empty value, and e.g at 08:10:15 and to mindight it’s work properly
what’s wrong?
p.s. ROS v6.47.9 (long term)
This may be due to that time format in logs are not equal over new day change.
IF Mikrotik has used RFC-3164 in their log format, this would have been fixed. Look at these two log messages.
apr/05 12:59:00 > system,info,account user xyz logged out from 10.12.12.178 via ssh
11:01:32 > system,info,account user xyz logged in from 10.12.12.32 via telnet