Thanks for this Thomas - as you saw from my previous two emails, I'm just trying to compile it now.
- Frank

thomas.pav...@free.fr wrote:
Objet: [Pythonocc-users] Way to disable debug messages?

I was wondering if there is a way to disable what I assume to be debugging output, e.g. the "Call custom destructor for instance of ..." messages?

Hi Franck,

You're right, this output is quite annoying when dealing with many OCC objects. I 
uploaded to the subersion repository, a couple of hours ago, a new set of SWIG files. The 
debugging output will be sent to stdout only if the environment variable 
"PYTHONOCC_VERBOSE" is set.

Disabled by default. To enable the output, just set 
os.environ['PYTHONOCC_VERBOSE']='1'

Thanks,

Best Regards,

Frank Conradie

Thomas

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to