diff --git a/processing.py b/processing.py index 730c067..9159b47 100644 --- a/processing.py +++ b/processing.py @@ -115,7 +115,8 @@ def run(self): session_log_path = os.path.join(self.config.meta_path, "session.log") logging.basicConfig(filename=session_log_path, level=logging.DEBUG, - format='%(asctime)s %(message)s') + format='%(asctime)s %(message)s', + stream=sys.stdout) logging.info(job) self.update.emit("Started Processing") @@ -452,6 +453,7 @@ def downsample(self, scale, scaleby_int=True, ext='nrrd', compress=False): except HarpDataError as e: self.update.emit("Rescaling the image failed: {}".format(e)) raise + logging.info("Scaling finished") def resampler_callback(self, msg): self.update.emit(msg)