hi i have problem in api
i want don’t log api login and logout in server log how can i do this
![]()

pls help my
hi i have problem in api
i want don’t log api login and logout in server log how can i do this
![]()

pls help my
The easiest way would be to add “account” as an exception to info, i.e.
/system logging set [find topics="info"] topics="info,!account"
Though keep in mind this would stop logging ANY info activity regarding login, not just via API. You wouldn’t know if you’ve logged in via Winbox, SSH, etc.
thanks it work but if i want remove api only !!!
![]()
Try this
remove API only…
/ip service
set api disabled=yes
set api-ssl disabled=yes
Disable the API! ![]()
I don’t think that’s possible.
You could send such logs onto a remote log server, which would in turn discard the API logs… but that still means the router itself won’t store any login info.
Ha! Joker…
Hello, I have the same problem. I would reduce the problem to “do not log API”. Is there a way to do this, so that API is used and no logs are showed for API (or sent while using remote option)? Thanks