liangjun-jiang commented on issue #4949:
URL: https://github.com/apache/skywalking/issues/4949#issuecomment-697673995
It actually solved the problem. Besides this `is_cache_enhanced_class`, I
also need to turn on the other two as follows.
and seems it doesn't matter whether I set either true or false for
`is_cache_enhanced_class`. either one works.
```
# If true, SkyWalking agent will save all instrumented classes files in
`/debugging` folder.
# SkyWalking team may ask for these files in order to resolve compatible
problem.
agent.is_open_debugging_class = ${SW_AGENT_OPEN_DEBUG:true}
# If true, SkyWalking agent will cache all instrumented classes files to
memory or disk files (decided by class cache mode),
# allow other javaagent to enhance those classes that enhanced by SkyWalking
agent.
agent.is_cache_enhanced_class = ${SW_AGENT_CACHE_CLASS:true}
# The instrumented classes cache mode: MEMORY or FILE
# MEMORY: cache class bytes to memory, if instrumented classes is too many
or too large, it may take up more memory
# FILE: cache class bytes in `/class-cache` folder, automatically clean up
cached class files when the application exits
agent.class_cache_mode = ${SW_AGENT_CLASS_CACHE_MODE:MEMORY}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]