You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Curious1001 <la...@baerum.kommune.no> on 2008/04/08 13:56:31 UTC

Suppress console output when using CXF

Hi all !!

During execution of code using the CXF part it always print out lines like:

08.apr.2008 13:49:04
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromWSDL
INFO: Creating Service {http://XXXXX.org/}ServiceX from WSDL:
http://127.0.0.1/testme/ServiceX.asmx?wsdl

Is it possible to suppress this info using a setting in a config. file
etc.???


Thx in advance.

:-)
-- 
View this message in context: http://www.nabble.com/Suppress-console-output-when-using-CXF-tp16557802p16557802.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Suppress console output when using CXF

Posted by Curious1001 <la...@baerum.kommune.no>.
Hi Glen!!

Thank you very much. 

:-)



Glen Mazza wrote:
> 
> Yes.  In the build.xml file in step #5 here[1], the run-client task, I
> specify the logging.properties file.  Within that file, set the log level
> to warning or error and that should reduce almost all of the output.
> 
> HTH,
> Glen
> 
> [1] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1
> 
> 
> Curious1001 wrote:
>> 
>> Hi all !!
>> 
>> During execution of code using the CXF part it always print out lines
>> like:
>> 
>> 08.apr.2008 13:49:04
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> buildServiceFromWSDL
>> INFO: Creating Service {http://XXXXX.org/}ServiceX from WSDL:
>> http://127.0.0.1/testme/ServiceX.asmx?wsdl
>> 
>> Is it possible to suppress this info using a setting in a config. file
>> etc.???
>> 
>> 
>> Thx in advance.
>> 
>> :-)
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Suppress-console-output-when-using-CXF-tp16557802p16558429.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Suppress console output when using CXF

Posted by Glen Mazza <gl...@gmail.com>.
Yes.  In the build.xml file in step #5 here[1], the run-client task, I
specify the logging.properties file.  Within that file, set the log level to
warning or error and that should reduce almost all of the output.

HTH,
Glen

[1] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1


Curious1001 wrote:
> 
> Hi all !!
> 
> During execution of code using the CXF part it always print out lines
> like:
> 
> 08.apr.2008 13:49:04
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service {http://XXXXX.org/}ServiceX from WSDL:
> http://127.0.0.1/testme/ServiceX.asmx?wsdl
> 
> Is it possible to suppress this info using a setting in a config. file
> etc.???
> 
> 
> Thx in advance.
> 
> :-)
> 

-- 
View this message in context: http://www.nabble.com/Suppress-console-output-when-using-CXF-tp16557802p16557909.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Suppress console output when using CXF

Posted by Christian Vest Hansen <ka...@gmail.com>.
I suppose you could configure the logging levels and set the default
level to something that doesn't include INFO:

http://cwiki.apache.org/confluence/display/CXF20DOC/Debugging#Debugging-Configurelogginglevels.



On 4/8/08, Curious1001 <la...@baerum.kommune.no> wrote:
>
>  Hi all !!
>
>  During execution of code using the CXF part it always print out lines like:
>
>  08.apr.2008 13:49:04
>  org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>  buildServiceFromWSDL
>  INFO: Creating Service {http://XXXXX.org/}ServiceX from WSDL:
>  http://127.0.0.1/testme/ServiceX.asmx?wsdl
>
>  Is it possible to suppress this info using a setting in a config. file
>  etc.???
>
>
>  Thx in advance.
>
>  :-)
>
> --
>  View this message in context: http://www.nabble.com/Suppress-console-output-when-using-CXF-tp16557802p16557802.html
>  Sent from the cxf-user mailing list archive at Nabble.com.
>
>


-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.