I can see the log messages when running from the IDE but how do I get to it when it is running on the device?
Unless I donāt understand your question, those logs are for any device activity. IDE or otherwise. You can also get device specific logs in the IDE site as well.
Sorry, I meant when launching a smartApp from the phone. When on the IDE thereās the log window, where would I see the log messages when Iām not on the IDE?
You can see the activity feed (full) by going to the Hello, Home screen (message icon in upper right) and then the Activity Feed (upper right heartbeat icon once in Hello, Home.
Additionally you can browse to any device detail screen and tap Activity to see only activity for that device.
I got that but itās there a way to see the log messages explicitly logged by say ālog.debugā commands in smartApps?
There is an option to turn on the additional logging messages. Go to: My Account > Admin Options > Set Client Registration Logging level to DEBUG (among other things)
Hmmā¦I donāt see a āAdmin Optionsā under āMy Accountā on my iPhoneā¦am I missing something?
Donāt tease us like that.
I think you have the development version that is not released to us mortals.
I do that with relative frequency
Did anyone figure how to get the debug/info messages in the activity feed and if not how does one post to the device activity feed (not main)
Itād be really nice to be able to sort by timestamp as well!
Iām not sure if this helps since it still requires the IDE, but I am able to see log debug messages within the IDE from my device if the app is installed on my phone. Any help?
Is this something special that only you (as an employee) are able to see?
All I get from the Device screen on the IDE is the ability to list Events, thereās no debug log. Also, it does not make sense for smart app logs to be under Devices (which device would the Appās log go to)?
Please clarify.
Ok, found out where this was⦠https://graph.api.smartthings.com/ide/logs
Thank, that certainly helps.
Is this still the case? There isnāt any apparent ability to set the application log levels to see what happening inside an application. Can you enlighten us? Why document the ability to add log statements if we canāt benefit from seeing them?