diff options
author | Munyoki Kilyungi | 2022-08-23 22:14:25 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2022-08-23 22:14:25 +0300 |
commit | cfdcd069af40a0cc55014c4ba8c154b41d8cce87 (patch) | |
tree | 1625609f2e1322145bfa826386739befbbf0a11e | |
parent | b83285f518421f2e223ca6bd95332d82c270f7fa (diff) | |
download | gn-gemtext-cfdcd069af40a0cc55014c4ba8c154b41d8cce87.tar.gz |
Fix sub-lists in "better-logging"
-rw-r--r-- | topics/better-logging.gmi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/topics/better-logging.gmi b/topics/better-logging.gmi index 4c216aa..9ca8e42 100644 --- a/topics/better-logging.gmi +++ b/topics/better-logging.gmi @@ -23,16 +23,23 @@ We prioritise maintaining user functionality over speed in GN [with time this sp ## Actual Design - Configure logger to separate logs into different files: + - INFO file - contains initial bootstrap messages and instrumentation we may have to do. + - ERROR file - contains real errors. - Have those settings - the different log files - be part of GN2 start-up script. - For error messages, use the following format for different error messages: + - "DATABASE: <message>" + - "REDIS: <message>" + - "COMPUTATION: <message>" + - "API: <message>" + - "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. |