Skip to content

Commit 054b96d

Browse files
committed
πŸ”‡ Disable excess logging.
1 parent ba45b06 commit 054b96d

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

β€Žspring/fluentforms-sample-web-jersey-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/WireMockAemProxyEndpointTest.javaβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
@EnabledIf("com._4point.aem.fluentforms.sampleapp.resources.TestConstants#runWiremockTests")
3333
@WireMockTest()
3434
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
35-
classes = FluentFormsSpringApplication.class
35+
classes = FluentFormsSpringApplication.class,
36+
// Wiremock produces a lot of output, the following entries reduce that output. They can be removed for debugging.
37+
properties = {"logging.level.org.wiremock.spring=WARN", "logging.level.WireMock.wiremock=WARN"}
3638
)
3739
@EnableWireMock(@ConfigureWireMock(
3840
portProperties = "fluentforms.aem.port"

β€Žspring/fluentforms-sample-web-jersey-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/WireMockFluentFormsResourcesTest.javaβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
@EnabledIf("com._4point.aem.fluentforms.sampleapp.resources.TestConstants#runWiremockTests")
2323
@WireMockTest()
2424
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
25-
classes = FluentFormsSpringApplication.class
25+
classes = FluentFormsSpringApplication.class,
26+
// Wiremock produces a lot of output, the following entries reduce that output. They can be removed for debugging.
27+
properties = {"logging.level.org.wiremock.spring=WARN", "logging.level.WireMock.wiremock=WARN"}
2628
)
2729
@EnableWireMock(@ConfigureWireMock(
2830
portProperties = "fluentforms.aem.port"

β€Žspring/fluentforms-sample-webmvc-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/WireMockAemProxyEndpointTest.javaβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
@EnabledIf("com._4point.aem.fluentforms.sampleapp.resources.TestConstants#runWiremockTests")
3333
@WireMockTest()
3434
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
35-
classes = FluentFormsSpringApplication.class
35+
classes = FluentFormsSpringApplication.class,
36+
// Wiremock produces a lot of output, the following entries reduce that output. They can be removed for debugging.
37+
properties = {"logging.level.org.wiremock.spring=WARN", "logging.level.WireMock.wiremock=WARN"}
3638
)
3739
@EnableWireMock(@ConfigureWireMock(
3840
portProperties = "fluentforms.aem.port"

β€Žspring/fluentforms-sample-webmvc-app/src/test/java/com/_4point/aem/fluentforms/sampleapp/resources/WireMockFluentFormsResourcesTest.javaβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
@EnabledIf("com._4point.aem.fluentforms.sampleapp.resources.TestConstants#runWiremockTests")
2323
@WireMockTest()
2424
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
25-
classes = FluentFormsSpringApplication.class
25+
classes = FluentFormsSpringApplication.class,
26+
// Wiremock produces a lot of output, the following entries reduce that output. They can be removed for debugging.
27+
properties = {"logging.level.org.wiremock.spring=WARN", "logging.level.WireMock.wiremock=WARN"}
28+
2629
)
2730
@EnableWireMock(@ConfigureWireMock(
2831
portProperties = "fluentforms.aem.port"

0 commit comments

Comments
Β (0)