axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Janapriya" <janapr...@wso2.com>
Subject Re: More readable LOG Macros.
Date Sun, 04 May 2008 09:29:30 GMT
>
> the expected output would be,
> >
> > [Mon Apr 28 23:22:08 2008] [debug] ..\..\src\tiktak.c(246) [Project XYZ]
> > Debug Message Tik Tak Too
> >
> or should it be:
>
> [Mon Apr 28 23:22:08 2008] [debug] [Project XYZ] ..\..\src\tiktak.c(246)
> Debug Message Tik Tak Too
>
> ?
>
> Samisa...
>

According to current implementation of AXIS2_LOG_DEBUG, the output of the
will be,

[Mon Apr 28 23:22:08 2008] [debug] ..\..\src\tiktak.c(246) [Project XYZ]
Debug Message Tik Tak Too .

But,

+1 for the suggested way of showing the debug message. (i.e. [Mon Apr 28
23:22:08 2008] [debug] [Project XYZ] ..\..\src\tiktak.c(246) Debug Message
Tik Tak Too)

I guess to make this happen we need to make a code change in,
axutil_log_impl_write_to_file function (log.c)

regards,

Janapriya

Mime
View raw message