在RouterOS裡,把以下Script建立起來,執行就可以清空Log檔了
#Script在RouterOS 3.7中測試通過 #Date:2009/03/10 :local memoryline [:put [/sys logg action get "memory" "memory-lines" ] ] /system logging action set memory memory-lines=1 /system logging action set memory memory-lines=$memoryline :log info "清空Memory Log"