![]() For more information about parameters refer to scripting manualįor example following command will print all log messages where one of the topics is info and will detect new log entries until Ctrl+C is /log > print follow where topics~".info" Note: print command accepts several parameters that allows to detect new log entries, print only necessary messages and so on. ![]() ![]() In example above you can see that second message was added on sep/15 current year (year is not added) and the last message was added today so only the time is displayed. If logs are printed at the same date when log entry was added, then only time will be shown. Sep/15 12:42:14 system,info,account user admin logged in from 10.1.101.212 via telnet Sep/15 12:35:34 system,info mangle rule changed by admin Sep/15 12:34:29 system,info mangle rule moved by admin Sep/15 12:34:26 system,info mangle rule added by admin Sep/15 12:33:18 system,info item added by admin Sep/15 09:54:33 system,info,account user admin logged in from 10.1.101.212 via winbox Each entry contains time and date when event occurred, topics that this message belongs to and message /log> print Logs can be saved in routers memory (RAM), disk, file, sent by email or even sent to remote syslog server (RFC 3164).Īll messages stored in routers local memory can be printed from /log menu. RouterOS is capable of logging various system events and status information.
0 Comments
Leave a Reply. |