axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <>
Subject AW: [AXIS2C] how to set logging to stderr?
Date Wed, 16 Jan 2008 09:59:20 GMT

Thanks, but as I do not use axis2 simple server ...
I am jsut using the axiom libs and libs forming the base
such as axutil and libxml2 etc.

What do I use to redirect output in code?
    axis_log = axutil_log_create(allocator, NULL, NULL);
this creates an axis2.log under . directory

But to help me debug/trace
    axis_log = axutil_log_create(allocator, NULL, stdout);
sends all my debug and above output to the screen.

Now what do I have to use to reconfigure / profile the
destination once the code has been built. When recompile 
and linke is a no go.

Question is: is there a way to profile and have more then one
destination using this axis2c logger capability? 

that is to say, during debugging I want to see down to traces 
level all on screen. so I use stdout and log level trace and 
during operation I'd like to raise the log level to log error 
and see error and events above that log level in a axis2.log file

Also I'd like to see traces in special cases when enabled by code
at run time. in very specific log files.

Can I profile this somehow?

Thanks and regards

-----Urspr√ľngliche Nachricht-----
Von: Kaushalye Kapuruge []
Gesendet: Mittwoch, 16. Januar 2008 10:19
An: Apache AXIS C User List
Betreff: Re: [AXIS2C] how to set logging to stderr?

Stadelmann Josef wrote:
> I am a newbee regarding the correct use of loggin,
> My question is: what do I have to do to get logging redirected to 
> sdterr or stdout
> instead to a log file such as axis2.log? This as I am not a unix 
> expert and somehow
> on war.path with streams in general .... :-)
Try to start the simple axis server as follows (if that's your 
./axis2_http_server -f /dev/stderr
> Is tere a way to profile this with Axis2C as with the log4j system?
> Josef.Stadelmann@


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message