Skosmos icon indicating copy to clipboard operation
Skosmos copied to clipboard

Re-structure Skosmos logging

Open Joshocan opened this issue 3 years ago • 1 comments

It is currently difficult to debug problems when it fails to run. Current log messages may not be very informative.

It would help to have a logging facility within Skosmos that would capture all errors and exceptions.

I may recommend that: Logging should be structured in JSON format Parameterize and contextualize logs for easier analysis. The default logging level is higher as WARNING ‌

Joshocan avatar May 20 '21 10:05 Joshocan

Can you provide any concrete examples of such logging for example in other PHP applications? Are there any good PHP logging libraries that would help implement this?

Is this something you'd be willing to work on and contribute PRs by any chance?

osma avatar May 24 '21 06:05 osma