[Qgis-user] Save log to file via cmd

Karl Magnus Jönsson Karl-Magnus.Jonsson at kristianstad.se
Mon Mar 8 08:03:04 PST 2021


Hi, I've experienced the same thing. Haven't found/heard of a solution yet. Would be interested in that.

Regards
Karl-Magnus Jönsson


-----Ursprungligt meddelande-----
Från: Qgis-user <qgis-user-bounces at lists.osgeo.org> För Christoph Jung
Skickat: den 8 mars 2021 15:41
Till: qgis-user <qgis-user at lists.osgeo.org>
Ämne: [Qgis-user] Save log to file via cmd

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?

Regards,
Christoph
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list