Live Logs In New Environment

Where do I go for viewing “live logs” in the new environment? Unlike the old IDE, I don’t see a section, tab, link, etc. for Live Logging in the Developer Workspace.

Thanks,
Jose

Hi, @josep1972!

Are you looking for logs of Hub-Connected devices that use Edge drivers?

If you’ve installed at least one driver and it’s currently running (this means it is handling/controlling a device), you need to set up the SmartThings CLI:

Then, use the command edge:drivers:logcat. You can see the logs of certain driver or all of them, this command it’s for the last case:

smartthings edge:drivers:logcat --hub-address=x.x.x.x --all

--hub-address refers to the Hub’s IP address which you can find in the IDE or your router’s configuration.

2 Likes

Thank you. This is what I was looking for.

2 Likes