Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 35197 invoked from network); 20 Feb 2009 09:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 09:56:23 -0000 Received: (qmail 5382 invoked by uid 500); 20 Feb 2009 09:56:22 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 5349 invoked by uid 500); 20 Feb 2009 09:56:22 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 5334 invoked by uid 500); 20 Feb 2009 09:56:22 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 5331 invoked by uid 99); 20 Feb 2009 09:56:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 01:56:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 09:56:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7D174234C4A7 for ; Fri, 20 Feb 2009 01:55:59 -0800 (PST) Message-ID: <74528736.1235123759511.JavaMail.jira@brutus> Date: Fri, 20 Feb 2009 01:55:59 -0800 (PST) From: "Charles Moulliard (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Closed: (CAMEL-1359) no log displayed on the console or file when the command mvn camel:run is launched In-Reply-To: <1624048328.1235059439423.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1359?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Moulliard closed CAMEL-1359. ------------------------------------ Resolution: Fixed No issue > no log displayed on the console or file when the command mvn camel:run is= launched > -------------------------------------------------------------------------= --------- > > Key: CAMEL-1359 > URL: https://issues.apache.org/activemq/browse/CAMEL-1359 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.0.0 > Reporter: Charles Moulliard > > Hi, > I don't see any log displayed on the console or file when I use the comma= nd mvn camel:run. The log4j.properties file is present in the target/classe= s directory : > # The logging properties used during tests.. > # > log4j.rootLogger=3DDEBUG, out > # CONSOLE appender not used by default > log4j.appender.console=3Dorg.apache.log4j.ConsoleAppender > log4j.appender.console.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.console.layout.ConversionPattern=3D%d %-5p %c{1} - %m %n > # File appender > log4j.appender.file=3Dorg.apache.log4j.FileAppender > log4j.appender.file.layout=3Dorg.apache.log4j.PatternLayout > log4j.appender.file.layout.ConversionPattern=3D%d %-5p %c{1} - %m %n > log4j.appender.file.file=3Dtarget/camel-bindy-test.log > # debug loging for Camel > log4j.logger.org.apache.camel.component.bindy=3DDEBUG > log4j.com.xpectis.camel.bindy.fix=3DDEBUG > On the console, I only see the information with level INFO > 19-f=C3=9Avr.-2009 16:59:39 org.apache.camel.component.file.FileEndpoint = createConsumer > INFO: Endpoint is configured with noop=3Dtrue so forcing endpoint to be i= dempotent as well > 19-f=C3=9Avr.-2009 16:59:39 org.apache.camel.component.file.FileEndpoint = createConsumer > INFO: Using default memory based idempotent repository with cache max siz= e: 1000 > 19-f=C3=9Avr.-2009 16:59:39 org.apache.camel.impl.DefaultCamelContext doS= tart > INFO: Apache Camel 2.0-SNAPSHOT (CamelContext:camelContext) started > 19-f=C3=9Avr.-2009 16:59:39 org.apache.camel.util.MainSupport generateDot > INFO: Generating DOT file for routes: D:\Dvlpt\Java\workspace-ganymede\ca= mel-source\bindy\target/site/cameldoc for: org. > apache.camel.spring.SpringCamelContext@56c528 with name: camelContext > 19-f=C3=9Avr.-2009 16:59:40 org.apache.camel.processor.Logger process > INFO: >>> --> interceptor(Instrumentation(Pipeline[Dea, Pattern:InOnly, = Properties:{CamelFileLockName=3DD:\Dvlpt\Java\wor > kspace-ganymede\camel-source\bindy\src\data\fix\fix.txt.camelLock, CamelF= ileLock=3Dsun.nio.ch.FileLockImpl[0:9223372036854 > 775807 exclusive valid]}, Headers:{CamelFileBatchIndex=3D0, CamelFileLast= Modified=3DThu Feb 19 14:59:08 CET 2009, CamelFileA > bsolutePath=3DD:\Dvlpt\Java\workspace-ganymede\camel-source\bindy\src\dat= a\fix\fix.txt, CamelFileLength=3D18, CamelFileName=3D > fix.txt, CamelFileCanonicalPath=3DD:\Dvlpt\Java\workspace-ganymede\camel-= source\bindy\src\data\fix\fix.txt, CamelFilePath=3D > src\data\fix\fix.txt, CamelFileParent=3Dsrc\data\fix, CamelFileBatchTotal= =3D1}, Body:8=3DFIX.4.2=E2=98=BA9=3D1=E2=98=BA35=3DD > 19-f=C3=9Avr.-2009 16:59:40 org.apache.camel.processor.Logger process > INFO: >>> interceptor(Instrumentation(Pipeline[Dea --> unmarshal(), Patte= rn:InOnly, Properties:{CamelFileLockName=3DD:\Dvl > pt\Java\workspace-ganymede\camel-source\bindy\src\data\fix\fix.txt.camelL= ock, CamelFileLock=3Dsun.nio.ch.FileLockImpl[0:92 > 23372036854775807 exclusive valid]}, Headers:{CamelFileBatchIndex=3D0, Ca= melFileLastModified=3DThu Feb 19 14:59:08 CET 2009, > CamelFileAbsolutePath=3DD:\Dvlpt\Java\workspace-ganymede\camel-source\bi= ndy\src\data\fix\fix.txt, CamelFileLength=3D18, Cam > elFileName=3Dfix.txt, CamelFileCanonicalPath=3DD:\Dvlpt\Java\workspace-ga= nymede\camel-source\bindy\src\data\fix\fix.txt, Cam > elFilePath=3Dsrc\data\fix\fix.txt, CamelFileParent=3Dsrc\data\fix, CamelF= ileBatchTotal=3D1}, Body:8=3DFIX.4.2=E2=98=BA9=3D1=E2=98=BA35=3DD > 19-f=C3=9Avr.-2009 16:59:40 org.apache.camel.processor.Logger process > INFO: >>> unmarshal() --> to(bean:fix), Patt= ern:InOnly, Properties:{CamelFileLockName=3DD:\Dv > lpt\Java\workspace-ganymede\camel-source\bindy\src\data\fix\fix.txt.camel= Lock, CamelFileLock=3Dsun.nio.ch.FileLockImpl[0:9 > 223372036854775807 exclusive valid]}, Headers:{CamelFileBatchIndex=3D0, C= amelFileLastModified=3DThu Feb 19 14:59:08 CET 2009 > , CamelFileAbsolutePath=3DD:\Dvlpt\Java\workspace-ganymede\camel-source\b= indy\src\data\fix\fix.txt, CamelFileLength=3D18, Ca > melFileName=3Dfix.txt, CamelFileCanonicalPath=3DD:\Dvlpt\Java\workspace-g= anymede\camel-source\bindy\src\data\fix\fix.txt, Ca > melFilePath=3Dsrc\data\fix\fix.txt, CamelFileParent=3Dsrc\data\fix, Camel= FileBatchTotal=3D1}, Body:[{com.xpectis.camel.bindy.m > odel.fix.Header=3D8=3DFIX.4.2, 9=3D1, 35=3DD}] > but in my Bean, I have several LOG.DEBUG method > =09private static final transient Log LOG =3D LogFactory.getLog(HandleFix= Bean.class); > =09if (LOG.isDebugEnabled()) { > =09=09LOG.debug("Count : " + count + ", Class type : " + model.get(key).g= etClass()); > =09} --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.