You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2007/12/05 16:29:43 UTC

[jira] Created: (CXF-1262) Logging Interceptor should not log mime/multipart

Logging Interceptor should not log mime/multipart
-------------------------------------------------

                 Key: CXF-1262
                 URL: https://issues.apache.org/jira/browse/CXF-1262
             Project: CXF
          Issue Type: Sub-task
            Reporter: Thomas Diesler




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


[jira] Updated: (CXF-1262) Logging Interceptor should not log mime/multipart

Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated CXF-1262:
--------------------------------

          Description: Running the XOP tests the server console is swamped with binary output
    Affects Version/s: 2.0.3

> Logging Interceptor should not log mime/multipart
> -------------------------------------------------
>
>                 Key: CXF-1262
>                 URL: https://issues.apache.org/jira/browse/CXF-1262
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> Running the XOP tests the server console is swamped with binary output

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


[jira] Commented: (CXF-1262) Logging Interceptor should not log mime/multipart

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549205 ] 

Daniel Kulp commented on CXF-1262:
----------------------------------


This is more or less working as designed.   The Logging interceptor doesn't know anything about protocol specific things like attachments and stuff.

Programatically, you do a logInInterceptor.addAfter(AttachmentInInterceptor.class.getName()) which would put it after the Attachments are parsed so the InputStream it grabs would just be for the root part.   However, that isn't doable with Spring config right now.  :-(

I've committed some changes that will allow that to be configured from spring via before and after properties.  (collection of strings)



> Logging Interceptor should not log mime/multipart
> -------------------------------------------------
>
>                 Key: CXF-1262
>                 URL: https://issues.apache.org/jira/browse/CXF-1262
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> Running the XOP tests the server console is swamped with binary output

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


[jira] Assigned: (CXF-1262) Logging Interceptor should not log mime/multipart

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-1262:
--------------------------------

    Assignee: Daniel Kulp

> Logging Interceptor should not log mime/multipart
> -------------------------------------------------
>
>                 Key: CXF-1262
>                 URL: https://issues.apache.org/jira/browse/CXF-1262
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>            Assignee: Daniel Kulp
>
> Running the XOP tests the server console is swamped with binary output

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


[jira] Updated: (CXF-1262) Logging Interceptor should not log mime/multipart

Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated CXF-1262:
--------------------------------


To reproduce, please have a look at

http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source

> Logging Interceptor should not log mime/multipart
> -------------------------------------------------
>
>                 Key: CXF-1262
>                 URL: https://issues.apache.org/jira/browse/CXF-1262
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>            Assignee: Daniel Kulp
>
> Running the XOP tests the server console is swamped with binary output

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


[jira] Commented: (CXF-1262) Logging Interceptor should not log mime/multipart

Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548695 ] 

Thomas Diesler commented on CXF-1262:
-------------------------------------

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/core"
  xsi:schemaLocation="http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
  
  <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
  <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
  
  <cxf:bus>
    <cxf:inInterceptors>
      <ref bean="logInbound"/>
    </cxf:inInterceptors>
    <cxf:outInterceptors>
      <ref bean="logOutbound"/>
    </cxf:outInterceptors>
    <cxf:inFaultInterceptors>
      <ref bean="logOutbound"/>
    </cxf:inFaultInterceptors>
  </cxf:bus>
</beans>

> Logging Interceptor should not log mime/multipart
> -------------------------------------------------
>
>                 Key: CXF-1262
>                 URL: https://issues.apache.org/jira/browse/CXF-1262
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> Running the XOP tests the server console is swamped with binary output

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