[Qgis-user] Save log to file via cmd

Christoph Jung jagodki.cj at gmail.com
Thu Mar 11 21:50:04 PST 2021


That’s great, Nyall. Thank you for your effort :)

Regards,
Christoph 

> Am 11.03.2021 um 23:46 schrieb Nyall Dawson <nyall.dawson at gmail.com>:
> 
> On Tue, 9 Mar 2021 at 00:41, Christoph Jung <jagodki.cj at gmail.com> wrote:
>> 
>> Hello everyone,
>> 
>> I created a model and added the function “Save log to file” at the end of my model. If I start the model directly in the QGIS application, it works fine (the log file will be created and contains information).
>> 
>> Now I want to call this model from the command line to schedule this task. I created a batch file, setting up the osgeo4w environment and calling the model via qgis_processing-qgis-ltr in this script. The log file will be created, but there is no information in it. There is no error message or something else in the command prompt too. Does anybody has an idea how I could get the information in my log files when I call my model via command line?
> 
> Thanks, fixed here: https://github.com/qgis/QGIS/pull/42208/files
> 
> Nyall


More information about the Qgis-user mailing list