Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 45276 invoked from network); 5 Nov 2008 08:41:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 08:41:53 -0000 Received: (qmail 72840 invoked by uid 500); 5 Nov 2008 08:41:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 72819 invoked by uid 500); 5 Nov 2008 08:41:58 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 72808 invoked by uid 99); 5 Nov 2008 08:41:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 00:41:58 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 08:40:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kxdx3-0000Df-C1 for user@geronimo.apache.org; Wed, 05 Nov 2008 00:41:21 -0800 Message-ID: <20337877.post@talk.nabble.com> Date: Wed, 5 Nov 2008 00:41:21 -0800 (PST) From: Hearty To: user@geronimo.apache.org Subject: How to configure slf4j with apache geronimo MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: heartyraphael@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I am using apache geronimo. When I've tried to deploy my application (war file) and try to run the application my logs are not creating under the specified location. I am using slf4j internally. The following jar files are specified under web-inf/lib location of my application. slf4j-api-1.5.0.jar,slf4j-log4j12-1.4.3.jar,log4j-1.2.14.jar. I have put logging.properties under web-inf/lib as well as web-inf/classes folders My logging.properties is as follows log4j.rootLogger=INFO, logFile log4j.appender.logFile=org.apache.log4j.RollingFileAppender log4j.appender.logFile.File=C:/tmp/logs/fp.log log4j.appender.logFile.layout=org.apache.log4j.PatternLayout log4j.appender.logFile.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %-5p [%t] %c{2} - %m%n log4j.appender.logFile.MaxFileSize=1000KB The logs are not creating under the location mentioned in logging.properties. I am also hiding the jar files in geronimo-web.xml using tag [which avoid the loading classes from the parent class loader] I am getting the following warning message in server console log4j:WARN No appenders could be found for logger (org.springframework.web.conte xt.ContextLoader). log4j:WARN Please initialize the log4j system properly. Please advise how to fix this issue. Thanks in advance -- View this message in context: http://www.nabble.com/How-to-configure-slf4j-with-apache-geronimo-tp20337877s134p20337877.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.