axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Lamond (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2C-1649) please check your log and buffer - In log.c
Date Fri, 15 Nov 2013 17:47:23 GMT

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

Jean-Marc Lamond commented on AXIS2C-1649:
------------------------------------------

Ok, i will try to find the guilty caller

------Message d'origine------
De: Alex Mantaut (JIRA)
À: Lamond, Jean-Marc
Objet: [jira] [Commented] (AXIS2C-1649) please check your log and buffer - In log.c
Envoyé: 15 nov. 2013 18:39


    [ 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 

./src/core/transport/http/util/http_transport_utils.c
./src/core/transport/http/sender/ssl/ssl_utils.c

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...






--
This message was sent by Atlassian JIRA
(v6.1#6144)

Jean-Marc


> 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
(v6.1#6144)

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


Mime
View raw message