HealthVault SDK provides a very useful feature to check under its hood! One can turn-on the tracing for the SDK very easily. The trace log is very helpful for
- Debugging the SDK
- Looking at the raw-xml exchanged between your application and HealthVault platform. The Raw XML in turn is very useful if you are:
- Trying to write-xml in the thing types
- Trying to write a HealthVault wrapper library in you favorite language
- Just curious to look under the hood:)
To look at the trace log add the following in configuration section of your web.config. One you run you application with settings below, a sdk.log file will be generated in the base directory of the website. You can also provide an absolute path for sdk.log to a directory where you web process has a write access.
NOTE: In case the file doesn’t get generated, make
sure your web process has write access to the directory sdk.log is getting generated in.