Community discussions

MikroTik App
 
inframe
just joined
Topic Author
Posts: 10
Joined: Tue May 13, 2014 10:20 am

Logging how to turn off (fetch etc.) edit INFO action?

Wed Apr 12, 2017 3:06 am

Hi dear!
There was a question on the logging of Microtics.
How can I edit the <INFO> rule and filter the <Fetch> string?
I've connected the Messenger API Telegram to my MikroTik, and I need to frequently update / check the commands, but the line gets in the router log.
Fetch: file  "getUpdates" downloaded
How to disable log?
Last edited by inframe on Thu Apr 13, 2017 6:28 pm, edited 2 times in total.
 
emikrotik
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Fri Jun 19, 2015 9:30 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Wed Apr 12, 2017 4:17 am

Hi,

I don't completely understand your requirement.

You could customize your logging rule and add multiple parameters i.e add route change but exclude rip announcements;

Screenshot: http://imgur.com/Hk9Mkeh
 
inframe
just joined
Topic Author
Posts: 10
Joined: Tue May 13, 2014 10:20 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Wed Apr 12, 2017 5:48 pm

Hi,

I don't completely understand your requirement.

You could customize your logging rule and add multiple parameters i.e add route change but exclude rip announcements;

Screenshot: http://imgur.com/Hk9Mkeh
Hi,
..I need exclude messages fetch: file "getUpdates" from the INFO log action. How to do it?

My logs: http://imgur.com/a/f6RBc

Thank's!
 
inframe
just joined
Topic Author
Posts: 10
Joined: Tue May 13, 2014 10:20 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Thu Apr 13, 2017 6:18 pm

How do I filter a rule, I do not need to read the log ....fetch: file ".. How can I remove this line, it hinders in the journal! :o
http://imgur.com/a/0bvVM
 
wel
just joined
Posts: 1
Joined: Mon Apr 17, 2017 12:07 pm

Re: Logging how to turn off (fetch etc.) edit INFO action?

Mon Apr 17, 2017 12:09 pm

How do I filter a rule, I do not need to read the log ....fetch: file ".. How can I remove this line, it hinders in the journal! :o
http://imgur.com/a/0bvVM
+++
 
inframe
just joined
Topic Author
Posts: 10
Joined: Tue May 13, 2014 10:20 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Wed May 03, 2017 9:07 am

This issue is currently topical! :!:
Have too ls appeared in the new firmware of the device to solve this?
 
roe1974
Member Candidate
Member Candidate
Posts: 150
Joined: Mon Dec 31, 2018 2:14 pm

Re: Logging how to turn off (fetch etc.) edit INFO action?

Tue Mar 19, 2019 5:42 pm

any idea in the meantime to disable "fetch" info's from log ?

Richard
 
jgraue
just joined
Posts: 5
Joined: Wed Jun 03, 2015 3:34 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Fri Feb 21, 2020 5:22 am

I am also getting the "info fetch: file "xxxx.php" downloaded " every time I do a POST to my App API. I have 40 routers, POSTing every minute to my App, hence my syslog server is getting over 50k message per day. It would be nice if there is the option of disabling the fetch from logging.
 
alemoia
just joined
Posts: 15
Joined: Sat Jan 04, 2020 12:59 am

Re: Logging how to turn off (fetch etc.) edit INFO action?

Thu Oct 15, 2020 11:13 pm

Same problem here, it would be very useful a feature to disable fetch logging
 
adam234
just joined
Posts: 2
Joined: Thu Mar 04, 2021 12:16 pm

Re: Logging how to turn off (fetch etc.) edit INFO action?

Thu Mar 04, 2021 12:21 pm

In case of sending data to API, it may be good option to add keep-result=no to fetch command. Fetched file will not be saved and at top of that, logging info will not be shown:
/tool fetch keep-result=no url="..."

Who is online

Users browsing this forum: Ahrefs [Bot] and 73 guests