When .setAutoCollectConsole(true, true) is used to capture console.error(), console.warn(), etc. messages, it would be terrific if the level (trace, debug, info, warn, error) could be configured. For example, I'd like to capture only warning and error logs.
@mdmower Console log telemetry collection based on the APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL environment variable should be possible as of version 3.1.0.
When
.setAutoCollectConsole(true, true)
is used to captureconsole.error()
,console.warn()
, etc. messages, it would be terrific if the level (trace
,debug
,info
,warn
,error
) could be configured. For example, I'd like to capture only warning and error logs.