Logging Design #206
Closed
rumpelsepp
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I will update this from time to time.
Currently we use a homegrown logging implementation which served its purpose very well, but we should really move to an implementation which uses python's logging module. Using this we just gain the ability to log to multiple files and the console at once. For this I started #191.
We also have a specification which defines all the JSON fields in the log records. This is important, since a design goal of
gallia
is comprehensive and machine readable logging. I am unhappy with the current spec, thus I suggest a change.Penlog
2
for the current spec.tags
field. We should use this instead and define some special tags forgallia
that the formatter could use; for instanceresult
,read
,write
, ….-v
forDEBUG
and-vv
forTRACE
.Open for discussion
PENLOG_LOGLEVEL
?Beta Was this translation helpful? Give feedback.
All reactions