Skip to content
Permalink
Browse files
Fix logging from GDAL
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 1394c28 commit 93c32e68ef6a790c021e0d3a99cfb2b94fbcce32
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/gdal/GdalUtils.py
@@ -108,8 +108,8 @@ def runGdal(commands, feedback=None):
else:
raise IOError(e.message + u'\nTried 5 times without success. Last iteration stopped after reading {} line(s).\nLast line(s):\n{}'.format(len(loglines), u'\n'.join(loglines[-10:])))

QgsProcessingUtils.logMessage(QgsMessageLog.INFO, loglines)
GdalUtils.consoleOutput = loglines
QgsProcessingUtils.logMessage(QgsMessageLog.INFO, '\n'.join(loglines))
GdalUtils.consoleOutput = loglines

@staticmethod
def getConsoleOutput():

0 comments on commit 93c32e6

Please sign in to comment.