Community discussions

MikroTik App
 
glenno
just joined
Topic Author
Posts: 11
Joined: Mon Mar 22, 2010 9:23 am

Log sort bug in 7.2.rc5

Thu Mar 31, 2022 5:37 am

I havent noticed this in versions before 7.2.rc5 on my HAP AC2. The sort by date doesnt work in descending order. There appears to be a logic error thinking that log event 101 is newer than log event 194
Screen Shot 2022-03-31 at 1.28.51 pm.png
You do not have the required permissions to view the files attached to this post.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5325
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Log sort bug in 7.2.rc5

Thu Mar 31, 2022 10:08 am

Are there between event 101 and 194 indications of time change, like NTP or so ?
I hope the event numbering remains chronological, regardless what happens.

I am trying to derive some logic but it doesn't make sense indeed ...
If column Time is used, it should sort correctly whatever there is behind the scenes.

Have you reported this to support@mikrotik.com ?

Adding: are you seeing the same behavior in Winbox ? Could be Webfig specific, that's why I ask.
 
glenno
just joined
Topic Author
Posts: 11
Joined: Mon Mar 22, 2010 9:23 am

Re: Log sort bug in 7.2.rc5

Thu Mar 31, 2022 2:53 pm

There are no NTP events. The issue appears to be a logic error with the sorting descending and how it interprets the 24 hour times, ie it can’t handle whether 00-1200hours is newer or older than 1300-23:99 hours.

Sorting any other way works a treat. Sorting by Time ascending works fine etc.

Just reported it here so someone might incorporate a fix into the next build. Didn’t need any support.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Log sort bug in 7.2.rc5

Thu Mar 31, 2022 3:06 pm

Test it on new release:
viewtopic.php?t=184585
 
holvoetn
Forum Guru
Forum Guru
Posts: 5325
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Log sort bug in 7.2.rc5

Thu Mar 31, 2022 3:07 pm

Support does not read this forum.
Best to report to support@mikrotik.com.
 
jookraw
Member Candidate
Member Candidate
Posts: 142
Joined: Mon Aug 19, 2019 3:06 pm

Re: Log sort bug in 7.2.rc5

Tue Apr 05, 2022 1:55 pm

What happens if you sort by # instead of date?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Log sort bug in 7.2.rc5

Tue Apr 05, 2022 2:33 pm

Who is online

Users browsing this forum: No registered users and 20 guests