[jira] [Commented] (AXIS2C-1649) please check your log and buffer - In log.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (AXIS2C-1649) please check your log and buffer - In log.c

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AXIS2C-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823842#comment-13823842 ]

Alex Mantaut commented on AXIS2C-1649:

I looked into


and the calls to AXIS2_LOG_DEBUG() do pass the format (please notice that AXIS2_LOG_SI is expanded to __FILE__,__LINE__ so it is 2 parameters, not one at it might look)

If format wouldn't be passed it would not compile...

> please check your log and buffer - In log.c
> -------------------------------------------
>                 Key: AXIS2C-1649
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1649
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.7.0
>         Environment: AIX 6.1
>            Reporter: Jean-Marc Lamond
>            Priority: Minor
>         Attachments: log.c.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> Can someone fix either util/src/log.c or all the reference to : axutil_log_impl_log_debug.  const axis2_char_t *format is most of the time not passed to the function and produce the erreur message.
> replace : if(log && log->ops && log->ops->write && format && log->enabled)
> with : if(log && log->ops && log->ops->write && log->enabled)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]