logging in omniORB for python

2004-12-14 Thread Birgit Rahm
Hello newsgroup,

I work with omniORB for python and I what to log the calls, does anyone in
this group know how I can do this?
I use the command to initialize the ORB
ORB = CORBA.ORB_init(sys.argv + ["-ORBtraceLevel", "40"], CORBA.ORB_ID)
but I dont get a log file or a message in pythonwin output display about
anything.
Does anyone know, were the log data is? And how I can store it in a file?
By the way I ask also the omniORB mailing list, but here are the python
experts.

--

Mit freundlichen Grüßen / best regards
Birgit Rahm


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: logging in omniORB for python

2004-12-16 Thread Birgit Rahm
>
> it gets written to stdout - and then looks like this:
>
> omniORB: ObjRef(IDL:ehotel.de/omphalos/Domain:1.0) -- deleted.

It was tricky: PythonWin doesnt display this, only the output of  the
program.
Now I have started it in the DOS Box (startPrg.py >logout.log) and the
omniORB uses the DOS Box to display the messages and the output of the prg
(in Pythonwin shown in the log window) was logged.
OK, I see ORB is displaying the expected tracelevel, now I only must
redirekt it.

Thanks to all wh helped me.
Birgit


-- 
http://mail.python.org/mailman/listinfo/python-list