Community discussions

MikroTik App
 
gowa
just joined
Topic Author
Posts: 6
Joined: Sun Dec 04, 2016 12:13 pm

[Webfig/Log] Displaying logs from memory takes very long time

Sun Dec 04, 2016 12:33 pm

Hi!
I'm using WebFig v6.37.3 (stable).
My logging is configured as follows:

Actions:
1) disk
Name: disk
Type : disk
File Name: disk1/logs/log <--- I'm using external USB storage for log files
Lines Per File: 65535
File Count: 65535
Stop on Full: unchecked

2) memory
Name: memory
Type: memory
Lines: 100
Stop on Full: unchecked

Rules:
1) Rule 1:
Topics: !packet
Action: memory
2) Rule 2:
Topics: !packet
Action: disk

What I wanted is to log everything to disk and to memory except for "packet" messages. I expected that when I go to Log menu and set filter to "memory" I'd be able to see recent 100 lines of logs immediately from memory (moreover I set up Design Skin to show "memory" logs by default). But it seems that RouterOS scans (unnecessarily) all these thousands of logs from both memory and disk and filters out messages while scanning which is slow (especially if you expect to see just last 100 lines from "memory").

Hope this could be improved.

Who is online

Users browsing this forum: soulflyhigh and 79 guests