Results 1 to 2 of 2

Thread: PayloadLoggingInterceptor log location

  1. #1
    Join Date
    Jun 2009
    Location
    León, Spain
    Posts
    24

    Default PayloadLoggingInterceptor log location

    Hello

    i think that this is a "so stupid" question, but i can't solve it.

    i've configured a PayloadLoggingInterceptor in my spring-servlet.xml

    Code:
    	<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping">
    		<property name="mappings">
    			<props> 	
    				<prop key="{urn:dslforum-org:cwmp-1-1}Inform">Inform</prop>
    			</props>
    		</property>
    		
     		<property name="interceptors">
    			<list>
    				<bean id="loggingInterceptor" class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor"/>
    				<bean id="validatingInterceptor" class="org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor">
    					<property name="schema" value="/WEB-INF/schema.xsd"/>
    					<property name="validateRequest" value="true"/>
    					<property name="validateResponse" value="true"/>
    				</bean>
    			</list>
    		</property>  
    	</bean>
    So.... i think that all input/output SoapMessages where "stored" in a log, but I can't find where this log is stored

    can somebody help me?

    thanks in advance

  2. #2

    Default

    It's probably the log level settings. PayloadLoggingInterceptor logs at debug level. Change your log4j settings to make this class log at debug level and you're good to go.
    Last edited by douglas.mendes; Sep 25th, 2012 at 09:49 AM. Reason: correct class name

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •