Community discussions

MikroTik App
 
jeroenp
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

[Answered] How can I manually add log entries from a script?

Tue Oct 11, 2016 9:11 pm

When running a script I often want to log information.

I could not find how to do that in the WiKi, but knowing how sparse that is:
How can I add log entries from a script?

--jeroen
Last edited by jeroenp on Tue Oct 11, 2016 10:06 pm, edited 1 time in total.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: How can I manually add log entries from a script?

Tue Oct 11, 2016 9:56 pm

:log info "hello world";
 
jeroenp
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

Re: How can I manually add log entries from a script?

Tue Oct 11, 2016 10:05 pm

:log info "hello world";
Thanks.