summarylogtreecommitdiffstats
path: root/remove-logging-to-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'remove-logging-to-file.patch')
-rw-r--r--remove-logging-to-file.patch5
1 files changed, 5 insertions, 0 deletions
diff --git a/remove-logging-to-file.patch b/remove-logging-to-file.patch
new file mode 100644
index 000000000000..cf91adf6de7a
--- /dev/null
+++ b/remove-logging-to-file.patch
@@ -0,0 +1,5 @@
+33,36d32
+< # Print the output also to a logfile
+< logfile = open("hb-downloader_" + time.strftime("%Y-%m-%d") + ".log", 'a')
+< print(formatted_message, file = logfile)
+< logfile.close()