axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Premalal <xydin...@gmail.com>
Subject Re: AW: [AXIS2C] how to set logging to stderr?
Date Wed, 16 Jan 2008 10:26:48 GMT
Hi,

"Stadelmann Josef" <josef.stadelmann@axa-winterthur.ch> writes:

> 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

AFAIK , there is a no such a way to redirect out put to stdout or
stderr.  However I could say you a small workaround for this. Try to
assign a log file which doesn't have write permission.

For example, if your logs written into echo.log, set it's file
permission to 333 (or 000). 

$chmod 000 axis2.log (this is not recommended though) 

It will redirect output to stderr then, and please raise a jira issue
for this. 

thanks,
Dinesh
-- 
http://nethu.org

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message