You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Matt (JIRA)" <ji...@apache.org> on 2017/03/03 01:15:45 UTC

[jira] [Commented] (CAMEL-10665) Restlet header warnings - again

    [ https://issues.apache.org/jira/browse/CAMEL-10665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893519#comment-15893519 ] 

Matt commented on CAMEL-10665:
------------------------------

We are seeing this issue too. 

Can someone advise how to turn off these messages? 

I tried some stuff log4j2.xml and some java logging tricks but nothing wants to turn these off.

If anyone can advise or look at this issue that would be great. Thanks

> Restlet header warnings - again
> -------------------------------
>
>                 Key: CAMEL-10665
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10665
>             Project: Camel
>          Issue Type: Task
>          Components: camel-restlet
>            Reporter: moritz löser
>            Priority: Minor
>
> I am seeing warnings in log similar to those mentioned in CAMEL-6590. 
> {code}
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Accept" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Accept-encoding" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Accept-language" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Connection" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Cookie" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "Host" is not allowed. Please use the equivalent property in the Restlet API.
> [WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of the standard header "User-agent" is not allowed. Please use the equivalent property in the Restlet API.
> {code}
> The lines added with the patch mentioned there were removed some commits later. See [history|https://github.com/apache/camel/commits/master/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java]
> [Commit that applied the patch|https://github.com/apache/camel/commit/e7db4ab26749904a4d0ea0b6a0faadfa62519845#diff-40593731f0a05cbcfd5ea24e6bc7e76e]
> [Commit that reverted it(intentionally?)|https://github.com/apache/camel/commit/d8404f69dc54557a64fb90f9de48b5f1d6e1303a#diff-40593731f0a05cbcfd5ea24e6bc7e76e]
> Probably i am totally wrong and those warnings are right, but what to do about them?
> I am using version *2.18.1* of camel-core and camel-restlet



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)