Community discussions

MikroTik App
 
WojtusW5
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Mon Oct 02, 2017 1:25 pm

Hide the fetch log

Wed Nov 28, 2018 1:41 pm

Hello
I have the problem with use fetch funcion in my script.
I use construction :local fullMessage ([/tool fetch url="$apiUrl/export.php?export" output=user as-value]->"data");

And in log I have many lines:
12:35:47 info fetch: file "export.php?export" downloaded
12:35:48 info fetch: file "export.php?export" downloaded
12:35:49 info fetch: file "export.php?export" downloaded
12:35:50 info fetch: file "export.php?export" downloaded
12:35:51 info fetch: file "export.php?export" downloaded

Is there any possibility that this information will not be in the log ?
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Hide the fetch log

Wed Nov 28, 2018 2:08 pm

Try onder System-Logging to add under Rules - Topic info Prefix line !fetch
 
WojtusW5
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Mon Oct 02, 2017 1:25 pm

Re: Hide the fetch log

Wed Nov 28, 2018 2:33 pm

Try onder System-Logging to add under Rules - Topic info Prefix line !fetch
But fetch option is don't on topics list

/system logging> add topics=
account bridge ddns e-mail gsm interface l2tp mpls pim radius route smb store timer warning !
async calc debug error health ipsec ldp ntp poe-out radvd rsvp snmp stp tr069 watchdog
backup caps dhcp event hotspot iscsi lte ospf ppp raw script ssh system upnp web-proxy
bfd certificate dns firewall igmp-proxy isdn manager ovpn pppoe read sertcp sstp telephony ups wireless
bgp critical dude gps info kvm mme packet pptp rip simulator state tftp vrrp write
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Hide the fetch log

Wed Nov 28, 2018 2:41 pm

Topic: ....gps info kvm.... manual add prefix fetch and toggle !

You can also try with Topic: store and I csn't test it where I am right now.

Who is online

Users browsing this forum: baragoon, vaio73 and 33 guests