cgi-estonia-space / ALUs

GPU accelerated earth observation data processors
https://twitter.com/spacest372
GNU General Public License v3.0
23 stars 3 forks source link

Event logging for CREODIAS (CF-9) #1

Closed kautlenbachs closed 1 year ago

kautlenbachs commented 2 years ago

From CF-REQ-PGAAS Requirements_for_new_processor.pdf chapter 2.6 Event logging

The processor shall be equipped with event and error logging. Preferably the logging system should allow changing the type of logged events (DEBUG, INFO, ERROR). [REQ-LOG-1] Logs should be generated in structured logging format. [REQ-LOG-2] Example message:

{ "time": "2010-01-01 12:34:56.0000", "level": "ERROR", "message": "hello, world", "elapsed": 10,
"unit": "s" }

Messages should be generated in the proposed format due to external systems receiving, parsing and indexing logs. If the supplied processor includes an error logging system then the documentation for this processor must include additional information regarding the details of the system. The documentation must include additional information: where log files are created, a description of the format of created logs, a description of typical logged messages, how to control the level of logged events, whether a log archiving mechanism is included, and whether a mechanism for limiting the space available for logging is included. [REQ-DOC-6]

Requirement CF9 image

kautlenbachs commented 1 year ago

There is already work done in branch on bitbucket - https://bitbucket.org/cgi-ee-space/alus/branch/creodias_log