Community discussions

 
WojtusW5
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
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 ?
I invite you to visit my blog
https://mikrotikon.pl/
 
msatter
Forum Guru
Forum Guru
Posts: 1222
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
Two RB760iGS (hEX S) in series. One does PPPoE and both do IKEv2.
Running:
RouterOS 6.46Beta / Winbox 3.19 / MikroTik APP 1.3.4
Having an Android device, use https://github.com/M66B/NetGuard/releases (no root required)
 
WojtusW5
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
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
I invite you to visit my blog
https://mikrotikon.pl/
 
msatter
Forum Guru
Forum Guru
Posts: 1222
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.
Two RB760iGS (hEX S) in series. One does PPPoE and both do IKEv2.
Running:
RouterOS 6.46Beta / Winbox 3.19 / MikroTik APP 1.3.4
Having an Android device, use https://github.com/M66B/NetGuard/releases (no root required)

Who is online

Users browsing this forum: No registered users and 7 guests