summaryrefslogtreecommitdiff
path: root/topics/better-logging.gmi
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-08-23 23:15:34 +0300
committerMunyoki Kilyungi2022-08-23 23:15:34 +0300
commit6eae4be03f06c29ceb9f167d6b95653378f39087 (patch)
treeb3f9f1dc4551e29415c6daba7f00d661301958f8 /topics/better-logging.gmi
parentcfdcd069af40a0cc55014c4ba8c154b41d8cce87 (diff)
downloadgn-gemtext-6eae4be03f06c29ceb9f167d6b95653378f39087.tar.gz
Update better-logging topic
Diffstat (limited to 'topics/better-logging.gmi')
-rw-r--r--topics/better-logging.gmi4
1 files changed, 4 insertions, 0 deletions
diff --git a/topics/better-logging.gmi b/topics/better-logging.gmi
index 9ca8e42..ea9fd26 100644
--- a/topics/better-logging.gmi
+++ b/topics/better-logging.gmi
@@ -6,6 +6,8 @@ We prioritise maintaining user functionality over speed in GN [with time this sp
## Goals
+- Have script-friendly error/info logs.
+
- Remove noise from GN2.
- Separate logging into different files: error logs, info logs. Add this somewhere with Flask itself instead of re-directing STDOUT to a file.
@@ -43,3 +45,5 @@ We prioritise maintaining user functionality over speed in GN [with time this sp
- "MISC: <message>"
- Have time-stamped logs by month. E.g. "genenetwork2-08-2022.error.log" and "genenetwork2-08-2022.info.log". This way in future, we can actually run an analysis on what breaks often in GN2.
+
+- Get rid of "utility.logger" module and replace it with Flask's or Python's in-built logging.