[ace-users] Enabling ACE "internal" logs
shuston at riverace.com
Thu Jul 19 07:12:45 CDT 2007
If you're not seeing the message from the logging code you showed,
- there wasn't an error
- you've disabled LM_ERROR logging
- logging is off all together
- you're running in a thread without ACE logging set up (did you spawn
a thread yourself, not using ACE, and have it call ACE methods?)
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Templie Cédric
> Sent: Thursday, July 19, 2007 5:41 AM
> To: Johnny Willemsen
> Cc: ace-users at cs.wustl.edu
> Subject: Re: [ace-users] Enabling ACE "internal" logs
> Thanks for your quick answer.
> Unfortunately, even when I set ACE::debug(), I do not see any
> 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"),
> 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
> ace-users mailing list
> ace-users at mail.cse.wustl.edu
More information about the Ace-users