You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Karl Palsson (JIRA)" <ji...@apache.org> on 2009/11/17 17:29:52 UTC

[jira] Created: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
--------------------------------------------------------------------------------------

                 Key: CAMEL-2186
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-ftp
    Affects Versions: 2.0.0
            Reporter: Karl Palsson


Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.

While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55532#action_55532 ] 

Claus Ibsen commented on CAMEL-2186:
------------------------------------

I will improve the TimerConsumer so it will log exchanges that have failed by default at ERROR level. Then you can see this in the log

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Karl Palsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55509#action_55509 ] 

Karl Palsson commented on CAMEL-2186:
-------------------------------------

tested with 2.1-SNAPSHOT as well, dated: 20091117163007

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2186.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: Claus Ibsen

trunk: 881699

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55529#action_55529 ] 

Claus Ibsen commented on CAMEL-2186:
------------------------------------

The issue is you route uses a consumer which just ignores any exceptions since you start a route with a timer.
When the Exchange is done and it has an exception the timer will just ignore it as it cannot handle exceptions.

It aught to log the exception at ERROR level in this name
org.apache.camel.component.timer

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55510#action_55510 ] 

Claus Ibsen commented on CAMEL-2186:
------------------------------------

The failed to write exception should be set on the Exchange so if you have any error handling configured you can take core of it there.

The producers etc should not double log the problem.

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Karl Palsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55512#action_55512 ] 

Karl Palsson commented on CAMEL-2186:
-------------------------------------

ok, I'll agree that the producers shouldn't.

Perhaps we can relabel this ticket.

I believe that the DefaultErrorHandler should log at INFO at least. I agree it shouldn't do anything like retries or redeliveries, and I agree that when you've got things setup, you'll have more specific error handling, but currently, without debug level logging, there's simply no notification at all that anything even went wrong. 

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2186) if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.

Posted by "Karl Palsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55535#action_55535 ] 

Karl Palsson commented on CAMEL-2186:
-------------------------------------

Same affects seda and direct.... :) And probably other places too.

I really think this belongs in the default error handler :)

> if ftp endpoint is not writeable, the only messages you get are logged at DEBUG level.
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2186
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2186
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>            Reporter: Karl Palsson
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> Using the same project attached to CAMEL-2165, you can delete the "ftp_home" directory, or simply edit user.properties to make the ftp account readonly.
> While every single write to the camel ftp endpoint will then fail, the only notification of this is at DEBUG level.  In my opinion this should be at least WARN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.