You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Leonardo Kausilas (JIRA)" <ji...@apache.org> on 2008/12/01 16:28:44 UTC

[jira] Created: (AXIS2C-1301) Can not change the axis2c logger.

Can not change the axis2c logger.
---------------------------------

                 Key: AXIS2C-1301
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1301
             Project: Axis2-C
          Issue Type: Improvement
          Components: util
    Affects Versions: 1.5.0
         Environment: Linux SuSe 10, Intel Xeon 64 bits, Axis2c 1.5.0
            Reporter: Leonardo Kausilas
            Priority: Minor


Can not change the axis2c logger because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to axutil_log_impl_log_debug, axutil_log_impl_log_info, etc and never calls to axutil_log_ops_t.write function pointer.
If the macros calls a generic function that calls the axutil_log_ops_t.write function pointer, everyone who wants to change the logger could create a new axutil_log_ops_t struct initializing it with your own pointers, like the XML parser, allocator, etc.


-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1301) Can not change the axis2c logger.

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652301#action_12652301 ] 

Damitha Kumarage commented on AXIS2C-1301:
------------------------------------------

Please se AXIS2C-1286 is related to your issue

> Can not change the axis2c logger.
> ---------------------------------
>
>                 Key: AXIS2C-1301
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1301
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.5.0
>         Environment: Linux SuSe 10, Intel Xeon 64 bits, Axis2c 1.5.0
>            Reporter: Leonardo Kausilas
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Can not change the axis2c logger because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to axutil_log_impl_log_debug, axutil_log_impl_log_info, etc and never calls to axutil_log_ops_t.write function pointer.
> If the macros calls a generic function that calls the axutil_log_ops_t.write function pointer, everyone who wants to change the logger could create a new axutil_log_ops_t struct initializing it with your own pointers, like the XML parser, allocator, etc.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-1301) Can not change the axis2c logger.

Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjula Peiris updated AXIS2C-1301:
-----------------------------------

    Fix Version/s: 1.6.0

> Can not change the axis2c logger.
> ---------------------------------
>
>                 Key: AXIS2C-1301
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1301
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.5.0
>         Environment: Linux SuSe 10, Intel Xeon 64 bits, Axis2c 1.5.0
>            Reporter: Leonardo Kausilas
>            Priority: Minor
>             Fix For: 1.6.0
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Can not change the axis2c logger because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to axutil_log_impl_log_debug, axutil_log_impl_log_info, etc and never calls to axutil_log_ops_t.write function pointer.
> If the macros calls a generic function that calls the axutil_log_ops_t.write function pointer, everyone who wants to change the logger could create a new axutil_log_ops_t struct initializing it with your own pointers, like the XML parser, allocator, etc.

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


[jira] Resolved: (AXIS2C-1301) Can not change the axis2c logger.

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damitha Kumarage resolved AXIS2C-1301.
--------------------------------------

    Resolution: Fixed

This is fixed

> Can not change the axis2c logger.
> ---------------------------------
>
>                 Key: AXIS2C-1301
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1301
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.5.0
>         Environment: Linux SuSe 10, Intel Xeon 64 bits, Axis2c 1.5.0
>            Reporter: Leonardo Kausilas
>            Priority: Minor
>             Fix For: 1.6.0
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Can not change the axis2c logger because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to axutil_log_impl_log_debug, axutil_log_impl_log_info, etc and never calls to axutil_log_ops_t.write function pointer.
> If the macros calls a generic function that calls the axutil_log_ops_t.write function pointer, everyone who wants to change the logger could create a new axutil_log_ops_t struct initializing it with your own pointers, like the XML parser, allocator, etc.

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


[jira] Commented: (AXIS2C-1301) Can not change the axis2c logger.

Posted by "Leonardo Kausilas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652390#action_12652390 ] 

Leonardo Kausilas commented on AXIS2C-1301:
-------------------------------------------

Thanks Damitha, I apply the patch and now works fine.
Thanks a lot!




> Can not change the axis2c logger.
> ---------------------------------
>
>                 Key: AXIS2C-1301
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1301
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.5.0
>         Environment: Linux SuSe 10, Intel Xeon 64 bits, Axis2c 1.5.0
>            Reporter: Leonardo Kausilas
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Can not change the axis2c logger because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to axutil_log_impl_log_debug, axutil_log_impl_log_info, etc and never calls to axutil_log_ops_t.write function pointer.
> If the macros calls a generic function that calls the axutil_log_ops_t.write function pointer, everyone who wants to change the logger could create a new axutil_log_ops_t struct initializing it with your own pointers, like the XML parser, allocator, etc.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org