You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2018/04/17 08:06:52 UTC

mina-sshd git commit: [SSHD-815] Add log4j test file for sftp

Repository: mina-sshd
Updated Branches:
  refs/heads/master 5bb17b5f4 -> 76fe82188


[SSHD-815] Add log4j test file for sftp


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/76fe8218
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/76fe8218
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/76fe8218

Branch: refs/heads/master
Commit: 76fe821888d28fd3f73c6a757f3990680082b3ed
Parents: 5bb17b5
Author: Guillaume Nodet <gn...@apache.org>
Authored: Tue Apr 17 09:38:56 2018 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Tue Apr 17 10:06:22 2018 +0200

----------------------------------------------------------------------
 sshd-sftp/src/test/resources/log4j.properties | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/76fe8218/sshd-sftp/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/sshd-sftp/src/test/resources/log4j.properties b/sshd-sftp/src/test/resources/log4j.properties
new file mode 100644
index 0000000..4e4dd65
--- /dev/null
+++ b/sshd-sftp/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-core-tests.log
+log4j.appender.logfile.append=true