Community discussions

MikroTik App
 
User avatar
eugenevdm
Member Candidate
Member Candidate
Topic Author
Posts: 208
Joined: Tue Jun 01, 2004 12:23 pm
Location: Stellenbosch, South Africa
Contact:

How to use API to /log warning "Testing Warnings"

Thu Oct 03, 2013 12:40 pm

I tried using this command in the API:

/log/warning
=message="Testing Warnings"

but that doesn't seem to work. Is anyone using the API to log?
 
User avatar
skot
Long time Member
Long time Member
Posts: 584
Joined: Wed Nov 30, 2011 3:05 am

Re: How to use API to /log warning "Testing Warnings"

Wed Oct 09, 2013 1:38 am

/log/warning
=message="Testing Warnings"
Yes, the code works for me, though quotes are not necessary.

What client are you using?