Azure / botbuilder-instrumentation

Add extra logging for bot framework
MIT License
23 stars 22 forks source link

DialogData is empty on middleware #14

Open CristianPQ opened 7 years ago

CristianPQ commented 7 years ago

I've configured the additional settings and now I'm logging some data that is on UserData. I was trying to log some data from DialogData but it was always null, so I debugged it and I realised that on the middleware dialogData is empty, as it was a different dialog.

customFields: {
    userData: [ "currentBot", "country", "locale", "BotBuilder.Data.PreferredLocale" ],
    dialogData: [ "BotBuilder.Data.Intent", "BotBuilder.Data.WaterfallStep"],
    conversationData: [],
    privateConversationData: []
}

screen shot 2017-07-26 at 11 31 47

I think you should disable dialogData to be defined on customFields

morsh commented 7 years ago

@CristianPQ - I'll check this, but it might take some time.