I have Mikrotik RouterOS v4.13. In Winbox, when I view log, it only show me the information for 1 hour. How can I view the log for the last 24 hours.
Log contains last 100 lines by default, as it’s stored in memory (and it’s cleared upon reboot). To change this limit, or to change log to “disk” you have to configure it in the “system → logging” menu.
First, choose where you will store specific logs, for example if you store INFO logs in memory, open the MEMORY action and change the lines from 100 to anything else you want:

Of course, you can change the INFO logs to be saved to DISK (if your disk is magnetic, not NAND flash, because NAND could be damaged if you have thousands of log lines every hour). Then open the DISK action, and also increase the stored lines number, and set how many log files you will keep.
I prefer having syslog server in the network and store logs remotely.
I have Mikrotik on Intel PC. So I have hard disk not nand (40GB). where I can view the log in the hard disk.
In memory can I change the log from 100 to 2500
In disk , what should I choose the type? It is disk now.
Can I change the line per pages 2500 and file count to 7?
I wrote that. Didn’t I?
configure the DISK action!
I understand now. In rules, all my action was memory. I put tworules for each one for memory and the other for disk. I can change the disk setting for larger lines and memory for less lines.
How much the log take from the memory? Is 2500 line are too much?
I have Intel PC with Total hard disk 38.4GB(38.2GB free) and total 496.4 MiB RAM (free RAM 472.3 MiB)
why is now I see each entry has two lines in Winbox -->log
you probably have two identical log actions.
you probably have two identical log actions.
for each rule , I have one for action memory and another for action disk. Does Winbox log show both so I need only disk?
yes of course. leave only disk.
Wow cool now I have 10,000 entries and I can scroll back. Thank you Mikrotik dream come tru.