diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-02-05 17:27:47 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2020-02-05 17:27:47 +0100 |
commit | 1193b4a06618a0b5f092aedfeb65af37b11fa0e3 (patch) | |
tree | 5d44af9fc0798ae65c0107f4aeee2596943ad5a1 /orchestrator | |
parent | d05911599c0b9706d54ff7819349cbcadd30ed0a (diff) |
Reduce access logging
Avoids writing access logs in various tests.
1. Disables by-default access logging with Application, since it is used in
unit tests. 2. However many tests create additional DeployState which renders
this ineffective, and so this PR also explicitly disables access logging in
services.xml of some tests.
(1) might be unnecessary if we anyway have to do (2) everywhere, but this is
not clear to me.
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResourceTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResourceTest.java b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResourceTest.java index 2996220561c..80d0af09792 100644 --- a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResourceTest.java +++ b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionResourceTest.java @@ -155,6 +155,7 @@ public class ApplicationSuspensionResourceTest { return "<services>\n" + " <container version=\"1.0\" jetty=\"true\">\n" + + " <accesslog type=\"disabled\"/>\n" + " <config name=\"container.handler.threadpool\">\n" + " <maxthreads>10</maxthreads>\n" + " </config>\n" + |