You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2012/01/03 20:57:53 UTC

Re: specify the output file for CXF logging

On Thursday, December 29, 2011 1:53:43 AM chimaira wrote:
> Hi Daniel , and thank you for reply,
> 
> I v tried this
> @Logging(outLocation = "file:outsoap.log", inLocation = "file:outsoap.log",
> pretty = true)
> @Logging(outLocation = "file:c:\\outsoap.log", inLocation =
> "file:c:\\outsoap.log", pretty = true)
> 
> 
> but doesnt work. I can t find the logs files with outputs.

I'm not really familiar enough with the windows File URI format.   We call:
                URI uri = new URI(s);
                File file = new File(uri);

with that string so that needs to work.  

I *THINK* that means it should be:
@Logging(outLocation = "file:///C:/outsoap.log")


Dan



> 
> Can you please give an example on how implementing the  @Logging annotation.
> 
> 
> I m testing on widows OS with jonas app.server.
> 
> Last thing, is there a way to make a unique file for each operation? a file
> by request.
> 
> Can I implement the Logging interface ? and make a custum Loggin feature?
> 
> 
> Thank you  again
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/specify-the-output-file-for-CXF-logging-tp5
> 105452p5107304.html Sent from the cxf-user mailing list archive at
> Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com