2
SmarterMail (latest) REST API Logs
Question asked by Sébastien Riccio - 7/28/2019 at 11:11 PM
Unanswered
Hello,

While trying to debug rest api calls (create a mailbox) that sometimes seems to work and other times not and without apparent reason, I'm trying to find where the API calls are logged.

In Administrative log I find a lot of these entries: (when authenticating API calls, btw it's named Webmail but these are api calls...)
[2019.07.26] 23:32:04.603 [94.xxx.96.xxx] Webmail Attempting to login user: apiuser
[2019.07.26] 23:32:04.603 [94.xxx.96.160] Webmail Login successful: With user apiuser
[2019.07.26] 23:32:04.688 [94.xxx.96.xxx] User apiuser@ calling manage (impersonate) domain, domain: whatever.com

Also I enabled Detailed login for "API Service" in troubleshooting, but nothing is detailed there, only exceptions.

Any hints ?

Thank you.

Sébastien Riccio
System & Network Admin

3 Replies

Reply to Thread
0
Employee Replied
Employee Post
Sebastien,

When you change the logging to detailed it won't be retroactive.  You will need use the API in order for it to show details after the change.  If you've used the API since the 28th you should have more details in the logging.  If you continue to have problems with the API I'd suggest opening a ticket with support.
0
Sébastien Riccio Replied
Hello Emily,

Thank you for your message. 

Of course, it is not retroactive. I did some api calls after changing the log level to detailed, before concluding it wasn't changing anything.
Also our control panel make uses of multiple thousand of api calls daily. None of them are logged.

I'll then open a ticket about it, thank you.

Kind regards.


Sébastien Riccio System & Network Admin https://swisscenter.com
0
echoDreamz Replied
We've had odd issues of this too with the new API calls, no failures, no exceptions, everything seems fine, but the user doesnt get created. In fact, it's like the call never happened.

Reply to Thread