Page 1 of 1

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

Posted: Wed Apr 12, 2017 3:06 am
by inframe
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?

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

Posted: Wed Apr 12, 2017 4:17 am
by emikrotik
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

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

Posted: Wed Apr 12, 2017 5:48 pm
by inframe
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!

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

Posted: Thu Apr 13, 2017 6:18 pm
by inframe
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

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

Posted: Mon Apr 17, 2017 12:09 pm
by wel
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
+++

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

Posted: Wed May 03, 2017 9:07 am
by inframe
This issue is currently topical! :!:
Have too ls appeared in the new firmware of the device to solve this?

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

Posted: Tue Mar 19, 2019 5:42 pm
by roe1974
any idea in the meantime to disable "fetch" info's from log ?

Richard

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

Posted: Fri Feb 21, 2020 5:22 am
by jgraue
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.

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

Posted: Thu Oct 15, 2020 11:13 pm
by alemoia
Same problem here, it would be very useful a feature to disable fetch logging

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

Posted: Thu Mar 04, 2021 12:21 pm
by adam234
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="..."