NO-JIRA: [Perftests] Prevent perftest.log files from being written to the development tree during test runs
Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/cdb696a9 Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/cdb696a9 Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/cdb696a9 Branch: refs/heads/master Commit: cdb696a9bcb0bba115f2f1cb956b1adf359f0542 Parents: be9075b Author: Keith Wall <[email protected]> Authored: Thu Jun 29 17:33:57 2017 +0100 Committer: Keith Wall <[email protected]> Committed: Thu Jun 29 17:33:57 2017 +0100 ---------------------------------------------------------------------- perftests/src/test/resources/logback-test.xml | 34 ++++++++++++++++++++ .../src/test/resources/logback-test.xml | 34 ++++++++++++++++++++ 2 files changed, 68 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/cdb696a9/perftests/src/test/resources/logback-test.xml ---------------------------------------------------------------------- diff --git a/perftests/src/test/resources/logback-test.xml b/perftests/src/test/resources/logback-test.xml new file mode 100644 index 0000000..2afe634 --- /dev/null +++ b/perftests/src/test/resources/logback-test.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<configuration debug="false"> + <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> + <target>System.out</target> + <encoder> + <pattern>%date %-5level [%thread] %logger{10} %msg%n</pattern> + </encoder> + </appender> + + <logger name="org.apache.qpid" level="${qpid.disttest.client.loglevel:-warn}" /> + <logger name="org.apache.qpid.disttest" level="${qpid.disttest.loglevel:-info}" /> + + <root level="warn"> + <appender-ref ref="CONSOLE"/> + </root> +</configuration> http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/cdb696a9/perftests/visualisation-jfc/src/test/resources/logback-test.xml ---------------------------------------------------------------------- diff --git a/perftests/visualisation-jfc/src/test/resources/logback-test.xml b/perftests/visualisation-jfc/src/test/resources/logback-test.xml new file mode 100644 index 0000000..2afe634 --- /dev/null +++ b/perftests/visualisation-jfc/src/test/resources/logback-test.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<configuration debug="false"> + <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> + <target>System.out</target> + <encoder> + <pattern>%date %-5level [%thread] %logger{10} %msg%n</pattern> + </encoder> + </appender> + + <logger name="org.apache.qpid" level="${qpid.disttest.client.loglevel:-warn}" /> + <logger name="org.apache.qpid.disttest" level="${qpid.disttest.loglevel:-info}" /> + + <root level="warn"> + <appender-ref ref="CONSOLE"/> + </root> +</configuration> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
