Repository: airavata Updated Branches: refs/heads/master 6b9d3c59b -> b46fffeda
(Airavata-1425) Adding log4j.properties to do verbose logging. Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/16cd6e10 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/16cd6e10 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/16cd6e10 Branch: refs/heads/master Commit: 16cd6e10acfdfb24faf9c9cd591e5629cda22ae4 Parents: ea5da33 Author: marpierc <[email protected]> Authored: Wed Sep 10 09:20:56 2014 -0400 Committer: marpierc <[email protected]> Committed: Wed Sep 10 09:20:56 2014 -0400 ---------------------------------------------------------------------- .../src/main/resources/log4j.properties | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/16cd6e10/tools/gsissh-cli-tools/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/tools/gsissh-cli-tools/src/main/resources/log4j.properties b/tools/gsissh-cli-tools/src/main/resources/log4j.properties new file mode 100644 index 0000000..257802c --- /dev/null +++ b/tools/gsissh-cli-tools/src/main/resources/log4j.properties @@ -0,0 +1,34 @@ +# +# 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. +# + +# Set root category priority to INFO and its only appender to CONSOLE. +log4j.rootCategory=ALL, CONSOLE,LOGFILE +log4j.rootLogger=ALL, CONSOLE, LOGFILE + + +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=./target/integration-tests.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
