On Tue July 28 2009 4:48:27 pm Nepali, Sonam (GE Healthcare, consultant) wrote: > We are using CXF 2.1.3 version. Currently, I have noticed that it > creates a temporary file for each message that the Logging interceptor > intecepts. Is there a way to turn off this feature so that it does not > write to a temporary file in Spring? What about making it write to a > specific directory?
It would only do that for message larger than 64K. You can set that limit via a system property: "org.apache.cxf.io.CachedOutputStream.Threshold" "10000000" or similar. > What about making it write to a > specific directory? System property: "org.apache.cxf.io.CachedOutputStream.OutputDirectory" Of course, the other option is to grab the source for our logging interceptors and modify them any way you see fit. :-) -- Daniel Kulp [email protected] http://www.dankulp.com/blog
