[ace-users] Enabling ACE "internal" logs

Templie Cédric cedric.templie at echotechnologies.ch
Thu Jul 19 04:40:30 CDT 2007


Hi,

Thanks for your quick answer.

Unfortunately, even when I set ACE::debug(), I do not see any logs....

Here is the example of logs I want to see.
In ACE_Asynch_Connector<HANDLER>::connect(...) there is following lines:

ACE_ERROR_RETURN ((LM_ERROR,
                                           ACE_LIB_TEXT ("%p\n"),
                                           ACE_LIB_TEXT 
("ACE_Asynch_Connect::connect")),
                                             -1);

As I understand this is supposed to write a log before returning -1 
value. The fact is that I do not succeed at all to see the log...
Do you have an idea of my problem ?

Thanks again

Cédric Templie

Johnny Willemsen wrote:
> Hi,
>
> Thanks for using the PRF form. ACE doesn't has real much internally logging.
> The ACE service configurator framework does output some messages when
> ACE::debug() is enabled, but nothing else specific. TAO is a different
> story, there we have a lot of logging. You can enabled tracing in ACE during
> compilation but that will result in a lot of messages.
>
> Regards,
>
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC  Berkel en Rodenrijs
> The Netherlands
> www.theaceorb.nl / www.remedy.nl  
>
> *** Integrated compile and test statistics see
> http://scoreboard.theaceorb.nl ***
> *** Commercial service and support for ACE/TAO/CIAO             ***
> *** See http://www.theaceorb.nl/en/support.html                 *** 
>
>   
>> Hello,
>>
>> I use a simplified version of PRF, because I do not report an 
>> issue, I 
>> just have a question.
>>
>> ACE VERSION: 5.5.9
>>
>> HOST MACHINE and OPERATING SYSTEM:
>> 	If on Windows based OS's, which version of WINSOCK do 
>> you use?: Windows XP SP 2
>>
>> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>> COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual 
>> Studio.net (MSVC 7.1)
>>
>> THE $ACE_ROOT/ace/config.h FILE: config-win32.h
>>
>> SYNOPSIS:
>>
>>     I want to enable ACE internal logs, but I do not succeed at all.
>>
>>     I tried a lot of things as explained in the APG book 
>> chapter 3, but 
>> still do not see ACE "internal" logs.
>>     I succeed to see the log I wrote, but I never see ACE 
>> "internal" logs.
>>
>>     I certainly missed something in the ACE configuration, even maybe 
>> during the build.
>>
>> Thanks in advance
>>
>> Cédric Templie
>>
>> _______________________________________________
>> ace-users mailing list
>> ace-users at mail.cse.wustl.edu
>> http://mail.cse.wustl.edu/mailman/listinfo/ace-users
>>
>>     
>
>   



More information about the Ace-users mailing list