Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C58FD6A6 for ; Thu, 18 Oct 2012 20:16:22 +0000 (UTC) Received: (qmail 94060 invoked by uid 500); 18 Oct 2012 20:16:22 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 94025 invoked by uid 500); 18 Oct 2012 20:16:22 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 94018 invoked by uid 99); 18 Oct 2012 20:16:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 20:16:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 20:16:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6851723888EA for ; Thu, 18 Oct 2012 20:15:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1399829 - in /airavata/trunk/modules/distribution/src/main: assembly/bin-assembly.xml resources/conf/log4j.properties Date: Thu, 18 Oct 2012 20:15:35 -0000 To: commits@airavata.apache.org From: lahiru@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121018201535.6851723888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lahiru Date: Thu Oct 18 20:15:34 2012 New Revision: 1399829 URL: http://svn.apache.org/viewvc?rev=1399829&view=rev Log: fixing logs issue in standalone mode. Added: airavata/trunk/modules/distribution/src/main/resources/conf/log4j.properties Modified: airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml Modified: airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml?rev=1399829&r1=1399828&r2=1399829&view=diff ============================================================================== --- airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml (original) +++ airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml Thu Oct 18 20:15:34 2012 @@ -55,7 +55,6 @@ target/axis2-${used.axis2.release}/WEB-INF/classes standalone-server/conf - log4j.properties commons-logging.properties @@ -156,6 +155,13 @@ airavata-server.properties + + ../distribution/src/main/resources/conf + standalone-server/conf + + log4j.properties + + ../distribution/src/main/resources/conf standalone-server/conf Added: airavata/trunk/modules/distribution/src/main/resources/conf/log4j.properties URL: http://svn.apache.org/viewvc/airavata/trunk/modules/distribution/src/main/resources/conf/log4j.properties?rev=1399829&view=auto ============================================================================== --- airavata/trunk/modules/distribution/src/main/resources/conf/log4j.properties (added) +++ airavata/trunk/modules/distribution/src/main/resources/conf/log4j.properties Thu Oct 18 20:15:34 2012 @@ -0,0 +1,40 @@ +# +# 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=INFO, CONSOLE,LOGFILE +log4j.rootLogger=INFO, CONSOLE, LOGFILE + +# Set the enterprise logger priority to FATAL +log4j.logger.org.apache.axis2.enterprise=FATAL +log4j.logger.de.hunsicker.jalopy.io=FATAL +log4j.logger.httpclient.wire.header=FATAL +log4j.logger.org.apache.commons.httpclient=FATAL + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +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=axis2.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