How to overide bot appsetting in web app setting #9702
Unanswered
TonyZhao414
asked this question in
Q&A
Replies: 1 comment 2 replies
-
To my knowledge it should be not Try the following:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to write logs of my bot to app insights, which is deployed to a web app. But unforunately there's only activity log (like connection start, listening to host) in application insights linked to my web app, and I could see nothing in customEvent table. After adding this connectionString setting below in my local appsetting.json file, I was able to commit logs to app insights with my question and answer in local bot. So I'm wondering how could I overide this setting in my web app or anywhere else. Would you please help answer or point out if there's something wrong with my current deployment causing only activity log. I was adding APPLICATIONINSIGHTS_CONNECTION_STRING and APPINSIGHTS_INSTRUMENTATIONKEY in web app setting, but that doesn't seem to work. Also, I tried runtimeSettings__telemetry__options__connectionString. Thanks.
"runtimeSettings": {
"telemetry": {
"logActivities": true,
"logPersonalInformation": false,
"options": {
"connectionString": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
},
Beta Was this translation helpful? Give feedback.
All reactions