Hello, How can I enable PTRACE in the ptlib ? Basically I want to enable all the tracing and levels in ptlib and h323. I have done the below initialization but I don't see all the traces. PTrace::Initialise( 5, NULL, PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine ); Thanks Alex Katebi
Hi Alex, according to the documentation, that should work. If it doesn't, you should report the bug on the OPAL mailinglist. I use the following sequence which also works nicely: PTrace::SetOptions(...); PTrace::SetLevel(5); Regards, Jan -- Jan Willamowius, jan@willamowius.de, http://www.gnugk.org/ Alex Katebi wrote:
Hello,
How can I enable PTRACE in the ptlib ? Basically I want to enable all the tracing and levels in ptlib and h323.
I have done the below initialization but I don't see all the traces.
PTrace::Initialise( 5, NULL, PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine );
Thanks Alex Katebi
participants (2)
-
Alex Katebi
-
Jan Willamowius