How to disable these extra log info

Hi everyone, I have set up my own server, while there still seems to be some problem.
See my screen shot.

There are lots of extra “debug” info, and hidden very bellow is the real exception message I am interested.
Like this:
Could someone share with me, how to disable this extra info ?

Try this:

import sys
sys.tracebacklimit = 0

Let me know if that works!

thanks, it work , but it totally hide all the error message, what I want is just to hide the pink c++ code.

What does an = 1 do?

I find the root cause, for I installed the latest cudnn, this is a compatibility issue.
This is the open issue:
I use this command to install the right version of cudnn.
conda install -c marta-sd cudnn