java - How to enable Hystrix DEBUG level logging


Keywords:java 


Question: 

I have implemented Netflix OSS Hystrix in one of my Spring boot application. And configured some properties for the HystrixCommand. But how can I verify that those properties are really used by HystrixCommand. For example,

hystrix.threadpool.default.maxQueueSize=12
hystrix.threadpool.default.keepAliveTimeMinute=2
hystrix.command.default.execution.isolation.strategy=SEMAPHORE

How can I see that these properties are applied to HystrixCommand? Is there any way I can enable debug level logging for Hystrix?

TIA


1 Answer: 

I think I found the answer. Adding below line generates Hystrix DEBUG level logging.

logging:
  level:
   com.netflix.hystrix: DEBUG