You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/09/01 19:01:58 UTC
Client-side logging in CXF?
Hello,
What is the logging system used in Apache CXF -- Log4j or J2SE logging?
Also, when I'm running a web service client using a CXF-generated SEI
using an Ant target similar to the below, I am only getting INFO level
output on the command line. How do I get DEBUG-level output? The
current documentation on logging[1] just describes server-side logging,
not client-side.
<path id="cxf.classpath">
<pathelement location="${build.classes.dir}"/>
<fileset dir="${env.CXF_HOME}/lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="run">
<java classname="client.WSClient" fork="true">
<classpath>
<path refid="cxf.classpath"/>
</classpath>
</java>
</target>
Thanks,
Glen
[1] http://cwiki.apache.org/CXF20DOC/debugging.html
Re: Client-side logging in CXF?
Posted by Glen Mazza <gl...@verizon.net>.
That worked--thanks--I just updated the docs.
Glen
Am Sonntag, den 02.09.2007, 07:48 -0700 schrieb Willem2:
> Hi Glen,
>
> CXF is using the J2SE logging.
> If you use the ant to run the sample , you could change the
> logging.properties file in ${CXF_HOME}/etc/ directory.
>
> Willem.
>
>
> Glen Mazza-2 wrote:
> >
> > Hello,
> >
> > What is the logging system used in Apache CXF -- Log4j or J2SE logging?
> >
> > Also, when I'm running a web service client using a CXF-generated SEI
> > using an Ant target similar to the below, I am only getting INFO level
> > output on the command line. How do I get DEBUG-level output? The
> > current documentation on logging[1] just describes server-side logging,
> > not client-side.
> >
> > <path id="cxf.classpath">
> > <pathelement location="${build.classes.dir}"/>
> > <fileset dir="${env.CXF_HOME}/lib">
> > <include name="*.jar"/>
> > </fileset>
> > </path>
> >
> > <target name="run">
> > <java classname="client.WSClient" fork="true">
> > <classpath>
> > <path refid="cxf.classpath"/>
> > </classpath>
> > </java>
> > </target>
> >
> > Thanks,
> > Glen
> >
> > [1] http://cwiki.apache.org/CXF20DOC/debugging.html
> >
> >
> >
> >
>
Re: Client-side logging in CXF?
Posted by Willem2 <ni...@iona.com>.
Hi Glen,
CXF is using the J2SE logging.
If you use the ant to run the sample , you could change the
logging.properties file in ${CXF_HOME}/etc/ directory.
Willem.
Glen Mazza-2 wrote:
>
> Hello,
>
> What is the logging system used in Apache CXF -- Log4j or J2SE logging?
>
> Also, when I'm running a web service client using a CXF-generated SEI
> using an Ant target similar to the below, I am only getting INFO level
> output on the command line. How do I get DEBUG-level output? The
> current documentation on logging[1] just describes server-side logging,
> not client-side.
>
> <path id="cxf.classpath">
> <pathelement location="${build.classes.dir}"/>
> <fileset dir="${env.CXF_HOME}/lib">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <target name="run">
> <java classname="client.WSClient" fork="true">
> <classpath>
> <path refid="cxf.classpath"/>
> </classpath>
> </java>
> </target>
>
> Thanks,
> Glen
>
> [1] http://cwiki.apache.org/CXF20DOC/debugging.html
>
>
>
>
--
View this message in context: http://www.nabble.com/Client-side-logging-in-CXF--tf4365109.html#a12449810
Sent from the cxf-user mailing list archive at Nabble.com.