Add a rotating log mechanism to get trace and telemetry on what happens, making it easier to debug. Also, makes it consistent with our course.
Result in a log file in ~/.qgis/journal.log with auto rotation (daily, on 5 days):
~/.qgis/journal.log