Our logs were getting filled with these entries:
8/18/23 11:51:30 AM PDT [WARN] [IntroscopeAgent.TransactionSamplingStrategy] Either Intelligent Instrumentation or Deep Tracing are disabled, however one of selected sampling strategy requires them. Trace is discar
ded
Adding this removed them:
log4j.additivity.IntroscopeAgent.TransactionSamplingStrategy=false
log4j.logger.IntroscopeAgent.TransactionSamplingStrategy=ERROR, logfile
After a recent release we began seeing these messages again but in a somewhat different format:
8/18/23 12:01:57 PM PDT [WARN] [I.TransactionSamplingStrategy] Either Intelligent Instrumentation or Deep Tracing are disabled, however one of selected sampling strategy requires them. Trace is discarded
I tried following a similar patter and added this to the profile:
log4j.additivity.I.TransactionSamplingStrategy=false
log4j.logger.I.TransactionSamplingStrategy=ERROR, logfile
but it didn't work....
Any ideas?
Release : SAAS
Agent: Java
Agent Version: 2023.7.1.14
Please use the following since the agent switch from log4j to log for vulnerability.
introscope.agent.log.level.IntroscopeAgent.TransactionSamplingStrategy=ERROR
Case Number: 33522290