erinknight242 / hsbot

Headspring's Hipchat Hubot
9 stars 12 forks source link

Logging improvements #102

Open erinknight242 opened 6 years ago

erinknight242 commented 6 years ago

Understand how the logging works in Azure, so that we can look back to see what caused a crash. Log streaming works, but only if you have it running and can reproduce the issue. For phantom crashes, we are in the dark right now. It looks like we have logging turned on, but the existing logs are back from 2017, which may have been a previous configuration.

bptillman commented 6 years ago

I was thinking the same thing, so we could also try to see what takes the Azure Web App/hsbot so long to warm up upon restarting.

erinknight242 commented 6 years ago

Yeah. Especially since the Log Streaming doesn't work across sessions... if you restart, you have to start a new streaming session so you miss anything that would have been logging during the restart.

heebnerd commented 6 years ago

Maybe ApplicationInsights would provide a more robust logging option...