axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Mengué (JIRA) <>
Subject [jira] Commented: (AXIS2C-1455) More flexibility in the logging subsystem
Date Thu, 04 Mar 2010 14:27:27 GMT


Olivier Mengué commented on AXIS2C-1455:

Also, the file is closed in the axutil_log_impl_free() function which is a private function.
This means that if I override the log_free operation, the log file opened by Axis will not
be closed. As the handle is stored in a private area, I have no way of accessing it to close
it myself.
So the current API has serious flaws and make it unusable for customized logging.

Here is a link to the current code (HEAD):

So I'm asking to add a 'open log' operation to axutil_log_ops_t and move most of the code
in axutil_log_create() to a private axutil_log_impl_open().

Is there any chance that a patch that does that would be accepted?

> More flexibility in the logging subsystem
> -----------------------------------------
>                 Key: AXIS2C-1455
>                 URL:
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>            Reporter: Olivier Mengué
> I am integrating Axis2/C in a bigger application that has its own logging system. I would
like to redirect Axis2/C logging operation to that logging system instead of files.
> In 1.6.0, Axis2/C is only able to log to files. Logging to files using the stdlib is
hardcoded in the logging internal structures, and avoiding file opening is not possible.
> It should be possible to completely replace the logging operations, not just "write"
and "free".  The base API should be more abstract, and the file handles should be in the default
logging implementation, not embeded in the base API.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message