Hi You can configure log levels on the camel components. How you do this depend on the logging framework you use.
For example with log4j you often configure this in a log4.properties file (or a xml file) For example i can enable TRACE logging (most verbose) as follows log4j.logger.org.apache.commons.net=TRACE log4j.logger.org.apache.camel.component.file=TRACE And when I run an unit test in the camel-ftp component I get this verbose output: 2011-08-30 11:10:56,313 [main ] TRACE FtpOperations - Attempting to login user: admin using password: admin 2011-08-30 11:10:56,316 [pool-3-thread-1 ] INFO FtpLoggingFilter - SENT: 220 Service ready for new user. 2011-08-30 11:10:56,320 [pool-3-thread-1 ] INFO FtpLoggingFilter - RECEIVED: USER admin 2011-08-30 11:10:56,323 [pool-3-thread-1 ] INFO FtpLoggingFilter - SENT: 331 User name okay, need password for admin. 2011-08-30 11:10:56,324 [pool-3-thread-1 ] INFO FtpLoggingFilter - RECEIVED: PASS ***** 2011-08-30 11:10:56,331 [pool-3-thread-1 ] INFO PASS - Login success - admin 2011-08-30 11:10:56,332 [pool-3-thread-1 ] INFO FtpLoggingFilter - SENT: 230 User logged in, proceed. 2011-08-30 11:10:56,333 [main ] TRACE FtpOperations - User admin logged in: true 2011-08-30 11:10:56,333 [pool-3-thread-1 ] INFO FtpLoggingFilter - RECEIVED: TYPE A 2011-08-30 11:10:56,335 [pool-3-thread-1 ] INFO FtpLoggingFilter - SENT: 200 Command TYPE okay. 2011-08-30 11:10:56,336 [main ] INFO RemoteFileProducer - Connected and logged in to: Endpoint[ftp://admin@localhost:21801/deletefile?binary=false&delete=true&password=******] 2011-08-30 11:10:56,336 [main ] TRACE FtpOperations - buildDirectory(deletefile) 2011-08-30 11:10:56,337 [pool-3-thread-1 ] INFO FtpLoggingFilter - RECEIVED: PWD 2011-08-30 11:10:56,338 [pool-3-thread-1 ] INFO FtpLoggingFilter - SENT: 257 "/" is current directory. On Tue, Aug 30, 2011 at 12:04 AM, jdpatil <jaya.pa...@mclaneco.com> wrote: > Thanks for the response. I am using camel 2.5 and it does not have stepwise > option. I tried setting passiveMode and binary but it didn’t help. > I am fairly new to Camel so can you please tell me how to enable the debug > logging on the camel ftp and file components? > > From: Claus Ibsen-2 [via Camel] > [mailto:ml-node+4744994-2080575733-244...@n5.nabble.com] > Sent: Sunday, August 28, 2011 10:52 PM > To: Jaya Patil > Subject: Re: FTP is not polling the files > > Hi > > I suggest to enable TRACE/DEBUG logging on the camel ftp and file > components as well as the FTP library (Apache Commons Net) to see what > is going on. > > Likewise you may take a look on the FTP server side, to see if there > is any clues from the server logs. > > It could be anything from security related, to empty folders, to a > scheduler task not triggering, etc. > > There is also the stepwise option you may consider turning on|off. It > influence how Camel traverse the directories. > On some system you must use stepwise=true to be able to do that. > > And also passive mode should sometimes be enabled or not. > > > On Sat, Aug 27, 2011 at 4:40 PM, jdpatil <[hidden > email]</user/SendEmail.jtp?type=node&node=4744994&i=0>> wrote: > >> I am using &between the parameter. I made typo mistake when I was writing >> the post. >> >> From: Claus Ibsen-2 [via Camel] [mailto:[hidden >> email]</user/SendEmail.jtp?type=node&node=4744994&i=1>] >> Sent: Saturday, August 27, 2011 1:57 AM >> To: Jaya Patil >> Subject: Re: FTP is not polling the files >> >> Hi >> >> You have 2 times ? in the uri. It should be using a & between the parameters. >> >> >> On Fri, Aug 26, 2011 at 3:35 PM, jdpatil <[hidden >> email]</user/SendEmail.jtp?type=node&node=4740641&i=0>> wrote: >> >>> I have route >>> <from uri="ftp://user@server/test?password=pass?recursive=true" /> >>> <to >>> uri="file://C:/home/outfiles<file:///C:\home\outfiles><file:///C:\home\outfiles%3cfile:\C:\home\outfiles%3e>" >>> /> >>> >>> I have some files in test directory but when i start the process it is not >>> downloading the files i get >>> >>> "FtpConsumer I org.apache.camel.component.file.remote.RemoteFileConsumer >>> connectIfNecessary Connected and logged in to: ftp://user@server:21" >>> >>> I tried seting passiveMode and binaray option. >>> >>> -- >>> View this message in context: >>> http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4738079.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >> >> >> >> -- >> Claus Ibsen >> ----------------- >> FuseSource >> Email: [hidden email]</user/SendEmail.jtp?type=node&node=4740641&i=1> >> Web: http://fusesource.com >> Twitter: davsclaus, fusenews >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4741343.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: [hidden email]</user/SendEmail.jtp?type=node&node=4744994&i=2> > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4744994.html > To unsubscribe from FTP is not polling the files, click > here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4738079&code=amF5YS5wYXRpbEBtY2xhbmVjby5jb218NDczODA3OXwxMzc2MzEyMjQy>. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4747944.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/