Trying to follow along here: https://learn.microsoft.com/en-us/azure/app-service-logic/app-service-logic-monitor-your-logic-apps
But that is neither a tutorial nor a reference and so is incomplete. I want to have logging which includes custom trackedProperties. Can you please outline all the required steps?
Definitely. So first you can define the custom tracked properties you want to track. Switch to code-view and add the "trackedProperties" object as defined in the article above. At runtime, all of these tracked properties will be added and emitted in the run telemetry.
After you have specified all of the properties you want to custom track, you need to read or view the diagnostics data. Currently there are a few ways to do that:
An example of a diagnostics message can be seen in the article above - you'll notice a "trackedProperties" object in the diagnostic message for the "ActionCompleted" event which will contain any of your custom tracked properties.
Hopefully that helps. If you want more control over dealing with messages option 1 works (But requires you configure a event processor to see logs) -- the Log Analytics provides more. Info on log analytics can be found here