code: def setup_exceptions():
      
      # first set up the variables needed by the _excepthook function
      global _print_traceback, _drill
      local_print_traceback = os.getenv("PYLOGCONF_PRINT_TRACEBACK")
      if local_print_traceback is not None:
          _print_traceback = _str2bool(local_print_traceback)
      local_drill = os.getenv("PYLOGCONF_DRILL")
      if local_drill is not None:
          _drill = _str2bool(local_drill)
      # now that everything is ready attach the hook
      sys.excepthook = _excepthook
docs: Only print the heart of the exception and not the stack trace