Community discussions

MikroTik App
 
User avatar
doneware
Trainer
Trainer
Topic Author
Posts: 647
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

verbose=yes redirection

Thu Jul 12, 2018 10:19 pm

please give us the possibility to redirect verbose script execution output to file.
maybe it would be also ok if you could have the same functionality what you get using auto_xxxx.rsc and auto_xxxx.out
can't we just have this for ordinary scripts?
i don't even mind having this as extra statement, inside the script, like this
:global debugoutput "debug.txt"
i tried to turn on logging using script,debug as debug, but nothing happens:
21:12:51 system,info log rule added by admin 
21:13:06 system,info new script added by admin 
21:14:30 system,info changed script settings by admin 
21:15:14 system,info changed script settings by admin 
21:18:10 system,info changed script settings by admin 

[admin@MikroTik] /system script> /sys logging print 
Flags: X - disabled, I - invalid, * - default 
 #    TOPICS                          ACTION                         PREFIX    
 0  * info                            memory                                   
 1  * error                           memory                                   
 2  * warning                         memory                                   
 3  * critical                        echo                                     
 4    script                          memory                                   
      debug                          
[admin@MikroTik] /system script> /log print         

Who is online

Users browsing this forum: GoogleOther [Bot], vaizki and 31 guests