[tao-users] How to properly redirect all debugs to single file and implement some rolling up mechanism?

Tomek tomek.w.gran.chaco at gmail.com
Mon Feb 29 06:35:33 CST 2016


TAO version 2.3.1
ACE version 6.3.1

Red Hat Enterprise Linux 7.6.1-80.el7

I am running the tao_cosnotification with the following options:

 tao_cosnotification -NoNameSvc -IORoutput <iorfile>
-ORBDottedDecimalAddresses 1 -ORBListenEndpoints iiop://:20001
-ORBDebugLevel 10 -ORBVerboseLogging 2  > outfile.$$ 2>&1

 The svc.conf file is not involved.

The result is that writing to the outfile stops after creating new ORB:
TAO (2515|4137703168) - Did not find default svc.conf
TAO (2515|4137703168) - Completed initializing the process-wide service
context
TAO (2515|4137703168) - Default ORB services initialization begins
TAO (2515|4137703168) - ORBInitializer_Registry::register_orb_initializer 0
@0x9657f38
TAO (2515|4137703168) - ORBInitializer_Registry::register_orb_initializer 1
@0x96569c0
TAO (2515|4137703168) - Default ORB services initialization completed
TAO (2515|4137703168) - We are the default ORB ...
TAO (2515|4137703168) - Initializing the orb-specific services
TAO (2515|4137703168) - Setting primary connection timeout hook
2016-02-25 15:13:26.495@<local_host>@2515 at LM_INFO@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - TAO_Time_Policy_Manager: loaded time policy strategy
'TAO_SYSTEM_TIME_POLICY'
2016-02-25 15:13:26.497@<local_host>@2515 at LM_DEBUG@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - Default_Resource_Factory - codeset manager=0x9658d98
2016-02-25 15:13:26.498@<local_host>@2515 at LM_DEBUG@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - Codeset_Manager_i::init_ccs, Loaded Codeset translator
<UTF8_Latin1_Factory>, ncs = 00010001 tcs = 05010001
2016-02-25 15:13:26.498@<local_host>@2515 at LM_DEBUG@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - UTF16_BOM_Translator: forceBE 0
2016-02-25 15:13:26.498@<local_host>@2515 at LM_DEBUG@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - Loaded default protocol <IIOP_Factory>
2016-02-25 15:13:26.498@<local_host>@2515 at LM_DEBUG@/SA/tao/bin/tao_cosnotification|TAO
(2515|4137703168) - Created new ORB <>

And there are also debug messages written to the syslog:

Feb 29 12:09:21 isalnx35 journal: TAO Notify[2515]: 2016-02-29
12:09:21.902528: LM_ERROR: tao_cosnotification|TAO (2515|4137630528) -
Transport[11]::handle_input, error parsing incoming message
Feb 29 12:09:22 isalnx35 journal: TAO Notify[2515]: 2016-02-29
12:09:22.718390: LM_INFO: tao_cosnotification|TAO (2515|4137630528) -
Transport_Cache_Manager_T::purge, Cache size after purging is [3]
Feb 29 12:09:22 isalnx35 journal: TAO Notify[2515]: 2016-02-29
12:09:22.719601: LM_INFO: tao_cosnotification|TAO (2515|4137630528) -
Transport_Cache_Manager_T::bind_i, Transport[11] @ hash:index{-2015532578:0}
Feb 29 12:09:22 isalnx35 journal: TAO Notify[2515]: 2016-02-29
12:09:22.722561: LM_INFO: tao_cosnotification|TAO (2515|4137630528) -
Transport_Cache_Manager_T::bind_i: Success Transport[11] @
hash:index{-2015532578:0}. Cache size is [4]


I would like to ask how to have all debugs and traces written to the single
file (outfile)? Additionally I would like to have some rolling up mechanism
implemented - does TAO provides such functionality?

Thanks and regards,
Tomek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20160229/80d024e7/attachment.html>


More information about the tao-users mailing list