[tao-users] activator diagnostics

Phil Mesnier mesnierp at ociweb.com
Wed Dec 23 16:39:40 CST 2015


Hi Robert,

The ImR activator and locator have a separate "-d <n>" to set their debugging level independent of the ORB debug level.
I think the highest value of n is currently 6.

Best regards
Phil

> On Dec 23, 2015, at 2:45 PM, shectman1 <shectman1 at llnl.gov> wrote:
> 
> TAO 6.3.2 - prf at the end of the message
> 
> I have the following environment variable set:
> 
> setenv TAO_ORB_DEBUG 1
> 
> My command line for the activator is:
> 
> tao_imr_activator -l -ORBVerboseLogging $TAO_ORB_DEBUG -ORBDebug -ORBDebugLevel 1 -ORBSvcConf svc.conf.reactive >> logfile
> 
> in ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/ImR_Activator_i.cpp in the function ImR_Activator_i::start_server
> 
> debug_ is still 0, so the diagnostic at line 499 is never output:
> 
>  if (debug_ > 0)
>    {
>      ORBSVCS_DEBUG ((LM_DEBUG,
>                      ACE_TEXT ("ImR Activator: Successfully started <%C>, pid=%d\n"),
>                      name, pid));
>    }
> 
> 
> How do you set the debug level of the activator?
> 
> 
> 
> 
> 
> 
> 
>    TAO VERSION: 2.3.2
>    ACE VERSION: 6.3.2
> 
>    HOST MACHINE and OPERATING SYSTEM:  Linux/RH6
> 
> 
>    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>    COMPILER NAME AND VERSION (AND PATCHLEVEL):   gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
> 
>    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
>    specific file, simply state which one]: ace/config-linux.h
> 
>    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
>    use a link to a platform-specific file, simply state which one
>    (unless this isn't used in this case, e.g., with Microsoft Visual
>    C++)]: platform_linux.GNU
> 
>    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>    (used by MPC when you generate your own makefiles):
> 
>    AREA/CLASS/EXAMPLE AFFECTED:
> [What example failed?  What module failed to compile?]
> 
>    DOES THE PROBLEM AFFECT:
>        COMPILATION?
>            If so, what do your $ACE_ROOT/ace/config.h and
>            $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
>        LINKING?
>            On Unix systems, did you run make realclean first?
>        EXECUTION? yes - diagnostics from the activator not present
>        OTHER (please specify)?
> 
>    SYNOPSIS:  Can't get activation diagnostics from the Activator
> 
> 
>    DESCRIPTION: Either I can't figure out the correct command line options to set the debug
> level in the activator, or the activator is not properly setting it.
> 
>    REPEAT BY:  Run the activator with options above, and see if you " Activator: Successfully started" messages in the
> activator log/output
> 
>    SAMPLE FIX/WORKAROUND:  None at this time
> 
> -- 
> 
> Robert M. Shectman
> 
> National Atmospheric Release Advisory Center (NARAC)
> Lawrence Livermore National Laboratory
> 
> shectman at llnl.gov
> (925)423-6714
> 
> _______________________________________________
> tao-users mailing list
> tao-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/tao-users

--
Phil Mesnier
Principal Engineer & Partner

OCI | WE ARE SOFTWARE ENGINEERS.
tel  +1.314.579.0066 x225
ociweb.com







More information about the tao-users mailing list