Example #1
0
 def _initLogging(self, prefix=None, console=True):
     Session._initLogging(self,
                          prefix,
                          console=False,
                          logfile=not self._is_sandboxed)
     if self._debug_log:
         self.log.addHandler(SimDebugHandler())
     self.log.addHandler(self.log_sender)
Example #2
0
 def _initLogging(self, prefix=None, console=True):
     Session._initLogging(self, prefix, console)
     sys.displayhook = self._displayhook