Hi, On 2011-7-15, at 下午3:29, stlecho wrote:
This solves indeed the issue. Does this mean that the http://cxf.apache.org/docs/debugging-and-logging.htmlhttp://cxf.apache.org/docs/debugging-and-logging.htm l page is obsolete andshould be replaced by http://cxf.apache.org/docs/configuration.html http://cxf.apache.org/docs/configuration.html ?
No, that page is still valid, you can add logging with code or configuration, it just used for different scenario.
Freeman
PS: The shortest way to configure logging is the following one (as explainedon http://cxf.apache.org/docs/configuration.html http://cxf.apache.org/docs/configuration.html ): <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"> <cxf:bus> <cxf:features> <cxf:logging/> </cxf:features> </cxf:bus> </beans> -- View this message in context: http://cxf.547215.n5.nabble.com/NullPointerException-when-using-LoggingInInterceptor-tp4586784p4589713.html Sent from the cxf-user mailing list archive at Nabble.com.
--------------------------------------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com
