OpenZWave / openzwave-dotnet-uwp

An Open-ZWave wrapper for use with .NET or UWP apps
Apache License 2.0
45 stars 27 forks source link

Can't find log files on Windows IoT #9

Closed fs99erab closed 7 years ago

fs99erab commented 7 years ago

I am running this on a raspberry pie and Windows IoT. Quite new to all of it. When looking at the code, it looks like the log files should be saved in the app-folder, but can't seem to find the log file there. I am searching with the file explorer in Windows IoT web interface. Any thoughts?

dotMorten commented 7 years ago

They are not in the app folder (that's read only), but in the ApplicationData.LocalFolder. https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata#properties_

dotMorten commented 7 years ago

Also here's that default folder for uwp set https://github.com/OpenZWave/openzwave-dotnet-uwp/blob/master/src/OpenZWave/ZWOptions.cpp#L54

fs99erab commented 7 years ago

You're right. Found it when viewed through SMB. Thanks. Thank you for a wrapper. It's awesome!

dotMorten commented 7 years ago

Thank you. @donald-hanson deserves most of the credit as he did all the hard initial work. I just added a little finishing polish 😀