[SSHD-841] Added sshd-scp log4j tests configuration file
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/12026eda Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/12026eda Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/12026eda Branch: refs/heads/master Commit: 12026eda650885988e0fa660ee11a51f688ebc3e Parents: 2578c9f Author: Lyor Goldstein <[email protected]> Authored: Sat Aug 25 11:27:39 2018 +0300 Committer: Goldstein Lyor <[email protected]> Committed: Sun Aug 26 09:24:44 2018 +0300 ---------------------------------------------------------------------- sshd-scp/src/test/resources/log4j.properties | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/12026eda/sshd-scp/src/test/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/sshd-scp/src/test/resources/log4j.properties b/sshd-scp/src/test/resources/log4j.properties new file mode 100644 index 0000000..0159bbd --- /dev/null +++ b/sshd-scp/src/test/resources/log4j.properties @@ -0,0 +1,38 @@ +# +# 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. +# +# + +# +# The logging properties used during tests.. +# +log4j.rootLogger=INFO, stdout, logfile +#log4j.logger.org.apache.sshd=TRACE +#log4j.logger.org.apache.sshd.common.channel.Window=DEBUG + +# CONSOLE appender +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d | %-5.5p | %-16.16t | %-32.32c{1} | %-64.64C %4L | %m%n + +# File appender +log4j.appender.logfile=org.apache.log4j.FileAppender +log4j.appender.logfile.layout=org.apache.log4j.PatternLayout +log4j.appender.logfile.layout.ConversionPattern=%d | %-5.5p | %-16.16t | %-32.32c{1} | %-64.64C %4L | %m%n +log4j.appender.logfile.file=target/sshd-scp-tests.log +log4j.appender.logfile.append=true
