Hmmm Looking at http://cxf.apache.org/docs/debugging-and-logging.html I don't see any option to specify the limit. I do see in the code the alternate constructors, but since I'm using JBoss AS 7 and just the JVM option I don't see a way to tell it to use the alternate limit.
John On Tue, May 21, 2013 at 1:52 PM, Daniel Kulp <dk...@apache.org> wrote: > > On May 21, 2013, at 1:41 PM, "John D. Ament" <john.d.am...@gmail.com> > wrote: > > > Currently, I use the JVM option > > > > org.apache.cxf.logging.enabled > > > > and I see this output: > > > > Message (saved to tmp file): > > Filename: /tmp/cxf-tmp-609897/cos8918496558500803807tmp > > (message truncated to 65536 bytes) > > Ah. OK. Just looked. The default for the interceptors themselves is > 100K, but the LoggingFeature is 64K. The system property uses the > LoggingFeature. That explains that. > > Basically, you'll need to do one of: > > 1) Manually configure the logging stuff (see > http://cxf.apache.org/docs/debugging-and-logging.html ) and increase the > limit appropriately. > > 2) Write an interceptor that would grab the "File" and copy it someplace > and configure that in. > > Dan > > > > > On Tue, May 21, 2013 at 1:35 PM, Daniel Kulp <dk...@apache.org> wrote: > > > >> > >> On May 21, 2013, at 1:11 PM, John D. Ament <john.d.am...@gmail.com> > wrote: > >> > >>> aki > >>> > >>> In my case, the request body is too large to show in the debug logging. > >>> That limits it to 64kb. > >> > >> Actually, I think the debug logging defaults to 100K, not 64K. > >> > >>> This is for an outbound web service call we're > >>> making using CXF as our runtime, so I'm not sure how to enable > >> interceptors > >>> that way. > >> > >> How are you turning on the logging? The logging interceptor and > feature > >> both have a "limit" property that can be set to something much larger if > >> needed. > >> > >> Dan > >> > >> > >>> > >>> > >>> On Tue, May 21, 2013 at 12:44 PM, Aki Yoshida <elak...@gmail.com> > wrote: > >>> > >>>> Not sure what is the best approach to suggest, as your question is > >> somehow > >>>> indirect and maybe there is another way to analyze the issue.. > >>>> > >>>> If you are talking about the temporary files that are created during > >>>> processing, you need to write an interceptor to interfere with the > >> normal > >>>> operation of this caching to leave the files undeleted after > processing. > >>>> > >>>> If you just want to look at the message content, isn't it easier to > >>>> activate the logging feature? > >>>> > >>>> regards, aki > >>>> > >>>> > >>>> > >>>> 2013/5/21 John D. Ament <john.d.am...@gmail.com> > >>>> > >>>>> Hi all > >>>>> > >>>>> I'm currently debugging an issue w/ CXF where fields are coming in > >> wrong > >>>> to > >>>>> our webservice (CXF is the client). I have debug logging turned on > but > >>>> the > >>>>> payloads are too large so I can only see the first 64kb of the > message. > >>>> Is > >>>>> it possible to have CXF keep the files that it creates rather than > >>>> deleting > >>>>> them? > >>>>> > >>>>> John > >>>>> > >>>> > >> > >> -- > >> Daniel Kulp > >> dk...@apache.org - http://dankulp.com/blog > >> Talend Community Coder - http://coders.talend.com > >> > >> > > -- > Daniel Kulp > dk...@apache.org - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > >