camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-6551) FtpConsumer fills up log file with "Cannot connect/login" WARN level messages
Date Tue, 16 Jul 2013 01:27:47 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang reassigned CAMEL-6551:
-----------------------------------

    Assignee: Willem Jiang
    
> FtpConsumer fills up log file with "Cannot connect/login" WARN level messages
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-6551
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6551
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.10.4
>         Environment: Windows7-64, JRE-1.6 - but not environment-specific
>            Reporter: Chris Wolf
>            Assignee: Willem Jiang
>            Priority: Minor
>
> If the FTP server becomes unavailable, the container log gets flooded with WARN-level
messages and gets filled with lines like:
> 16:32:34,511 WARN  [org.apache.camel.component.file.remote.FtpConsumer] Cannot connect/login
to: ftp://adpt5@localhost:21. Will skip this poll.
> 16:32:49,048 WARN  [org.apache.camel.component.file.remote.FtpConsumer] Cannot connect/login
to: ftp://adpt5@localhost:21. Will skip this poll.
> 16:33:03,576 WARN  [org.apache.camel.component.file.remote.FtpConsumer] Cannot connect/login
to: ftp://adpt5@localhost:21. Will skip this poll.
> i.e. a WARN message gets added to the log every five seconds.  We only need to be notified
once per incidence.
> The issue is in org.apache.camel.component.file.remote.RemoteFileConsumer.prePollCheck().
> I recommend a table of latches, keyed by endpoint key. The latch is set when the initial
warning is logged, then cleared upon any subsequent successful connection.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message