[omniORB] client side logging

Birgit Rahm mail369 at gmx.net
Tue Dec 14 07:33:49 GMT 2004


> > I start my omniORB from python using omniORBpy. I can not set the
> > commandline argument, I can only set the configuration file.
> 
> You can. In the ORB_Init-call is an args argument that you can pass a list
> of 
> arguments. I use sometimes e.g. this:
> 
> >from omniORB import CORBA, PortableServer
> ORB = CORBA.ORB_init(sys.argv + ["-ORBtraceLevel", "40"] , CORBA.ORB_ID) 
>
Thank you, I only tried

ORB = CORBA.ORB_init(sys.argv + " -ORBtraceLevel=40" , CORBA.ORB_ID)
This is syntactically right, but doesnt work. So I thought, the command line
argument doesnt work at all.
I will try this.
Thanks, Birgit

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!



More information about the omniORB-list mailing list