Add some logging on startup of Azure adapter

This commit is contained in:
Dave Syer
2018-09-17 11:58:38 +01:00
parent 4311aa949c
commit c964dc5451
3 changed files with 23 additions and 12 deletions

View File

@@ -105,7 +105,8 @@ public class AzureSpringBootRequestHandlerTests {
@Test
public void collectConfig() {
AzureSpringBootRequestHandler<List<Foo>, Bar> handler = handler(CollectConfig.class);
AzureSpringBootRequestHandler<List<Foo>, Bar> handler = handler(
CollectConfig.class);
Bar bar = handler.handleRequest(Arrays.asList(new Foo("bar")),
new TestExecutionContext("uppercase"));
assertThat(bar.getValue()).isEqualTo("BAR");

View File

@@ -30,7 +30,7 @@ public class TestExecutionContext implements ExecutionContext {
@Override
public Logger getLogger() {
return Logger.getAnonymousLogger();
return Logger.getLogger(TestExecutionContext.class.getName());
}
@Override