Skip to content

Commit

Permalink
Fix logging from GDAL
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 1394c28 commit 93c32e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/gdal/GdalUtils.py
Expand Up @@ -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():
Expand Down

0 comments on commit 93c32e6

Please sign in to comment.