[omniORB] client side logging

Luke Deller ldeller at xplantechnology.com
Tue Dec 14 18:59:05 GMT 2004


On Tue, 2004-12-14 at 07:33 +0100, Birgit Rahm wrote:
> 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.

Your python code above has a couple of problems:
- sys.argv is not a string; it is a list of strings
- the equal sign ('=') in the argument shouldn't be there

I think this is what you wanted:
ORB = CORBA.ORB_init(sys.argv + ["-ORBtraceLevel", "40"], CORBA.ORB_ID)

Regards,
Luke.




More information about the omniORB-list mailing list