Add logging for hystrix fallback

This commit is contained in:
Dave Syer
2015-02-05 12:35:13 +01:00
parent 01f4c08943
commit 1ff8118a03
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
# This way you get to see the exceptions when the fallback is accessed
logging.level.com.netflix.hystrix.AbstractCommand: DEBUG

View File

@@ -2,11 +2,9 @@ package demo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;