hello
I want to know if I can make a log file ?
I know how to make create text file with 1 line , but let say I do a ping every 3 min and I want the avg time will be save in the file
so in the end I will get something like this :
10:00:04 avg=234
10:03:05 avg=222
10:06:05 avg=111
.
.
.
.
.
thanks for the help,
I need to do something else
I want to copy the LOG into a file - it will be much easier
but it won’t give me
this is the command I wrote:
/file set [/file find name=test1.txt] contents=[/log print]
but I get an empty file
why is it?
thanks ,
“/log print” prints result to console. look here how to get log entries to script for processing: http://wiki.mikrotik.com/wiki/Manual:Scripting-examples#Detect_new_log_entry
yes , this is almost what I wanted -
but I want to create a file with the log every 100 lines or every 1 hour.
how do I do this?
thanks ,