Closed ljones140 closed 1 month ago
info
APPINSIGHTS_EXPORT_LOG_LEVEL
Logging library docs https://github.com/bragma/winston-azure-application-insights/blob/cfffb48e8761072a6d8aa0e9a122b46f42d26d49/README.md
App Insights is our biggest cost
Kusto query for working out busiest logs
traces | summarize messageCount=count() by bin(timestamp, 1h), message | order by messageCount
Tested in dev setting APPINSIGHTS_EXPORT_LOG_LEVEL to debug and logs appeared Set to info and the debug level logs did not appear
debug
What
info
can be changed using new env varAPPINSIGHTS_EXPORT_LOG_LEVEL
Logging library docs https://github.com/bragma/winston-azure-application-insights/blob/cfffb48e8761072a6d8aa0e9a122b46f42d26d49/README.md
Why
App Insights is our biggest cost
Kusto query for working out busiest logs
Testing
Tested in dev setting
APPINSIGHTS_EXPORT_LOG_LEVEL
todebug
and logs appeared Set toinfo
and thedebug
level logs did not appear